Skip to content

Can't seem to get Moonshot/kimi-k2.5 working #428

@after-ephemera

Description

@after-ephemera

Description

I have the moonshot api key set in my secrets.env file and can see on the desktop app that it recognizes it. However, I can't seem to get chat to work.

Logs show failed api key:


2026-03-08T05:43:21.639267Z ERROR tauri_plugin_updater::updater: update endpoint did not respond with a successful status code
2026-03-08T05:43:21.639361Z  WARN openfang_desktop::updater: Startup update check failed: Could not fetch a valid release JSON from the remote
2026-03-08T05:43:21.755397Z  WARN openfang_runtime::agent_loop: LLM stream error classified: Authentication failed. Check your API key configuration. category=Auth retryable=false raw=API error (401): {"error":{"message":"Invalid Authentication","type":"invalid_authentication_error"}}

and chat fails everywhere:

Image

Expected Behavior

I would expect a meaningful error or functionality.

Steps to Reproduce

  1. Add a moonshot api key to the secrets.env file
  2. Make kimi-k2.5 the model for a chat session
  3. try to chat

OpenFang Version

0.3.29

Operating System

macOS (Apple Silicon)

Logs / Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions