Skip to content

feat: add Moonshot and Kimi Code declarative providers#7304

Merged
DOsinga merged 1 commit intomainfrom
feat/kimi-moonshot-reasoning-support
Feb 18, 2026
Merged

feat: add Moonshot and Kimi Code declarative providers#7304
DOsinga merged 1 commit intomainfrom
feat/kimi-moonshot-reasoning-support

Conversation

@DOsinga
Copy link
Collaborator

@DOsinga DOsinga commented Feb 18, 2026

Summary

Add declarative provider configurations for Moonshot AI (Kimi) models, combining the work from PRs #6962 and #7222.

Changes

New Provider Files

  • moonshot.json: General Moonshot/Kimi models

    • kimi-latest (131K context)
    • kimi-thinking-preview (131K context)
    • kimi-k2-0711 (131K context)
    • kimi-k2 (262K context)
    • moonshot-v1-8k (8K context)
    • moonshot-v1-32k (32K context)
  • kimi.json: Coding-optimized Kimi models

    • kimi-for-coding (262K context)
    • kimi-code (262K context)

Both providers use the Moonshot API (api.moonshot.cn) with MOONSHOT_API_KEY.

Related PRs

Notes

The reasoning_content handling changes from #6962 and #7222 are already in main (likely from #7294 or earlier work), so this PR only adds the missing declarative provider configurations.

Testing

  • cargo build -p goose

Add support for Moonshot AI (Kimi) models:
- moonshot.json: kimi-latest, kimi-thinking-preview, kimi-k2-0711, kimi-k2, moonshot-v1-8k, moonshot-v1-32k
- kimi.json: kimi-for-coding, kimi-code (coding-optimized models)

Both providers use the Moonshot API (api.moonshot.cn) with MOONSHOT_API_KEY.

Combines work from PRs #6962 and #7222.
Copilot AI review requested due to automatic review settings February 18, 2026 15:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@DOsinga DOsinga added this pull request to the merge queue Feb 18, 2026
Merged via the queue into main with commit 2cd2e19 Feb 18, 2026
24 of 25 checks passed
@DOsinga DOsinga deleted the feat/kimi-moonshot-reasoning-support branch February 18, 2026 15:50
jh-block added a commit that referenced this pull request Feb 18, 2026
* origin/main:
  docs: remove ALPHA_FEATURES flag from documentation (#7315)
  docs: escape variable syntax in recipes (#7314)
  docs: update OTel environment variable and config guides (#7221)
  docs: system proxy settings (#7311)
  docs: add Summon extension tutorial and update Skills references (#7310)
  docs: agent session id (#7289)
  fix(gemini-cli): restore streaming lost in #7247 (#7291)
  Update more instructions (#7305)
  feat: add Moonshot and Kimi Code declarative providers (#7304)
  fix(cli): handle Reasoning content and fix streaming thinking display (#7296)
  feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277)
  fix(openai): support "reasoning" field alias in streaming deltas (#7294)
  fix(ui): revert app-driven iframe width and send containerDimensions per ext-apps spec (#7300)
  New OpenAI event (#7301)
  ci: add fork guards to scheduled workflows (#7292)
michaelneale added a commit that referenced this pull request Feb 19, 2026
* main: (54 commits)
  docs: add monitoring subagent activity section (#7323)
  docs: document Desktop UI recipe editing for model/provider and extensions (#7327)
  docs: add CLAUDE_THINKING_BUDGET and CLAUDE_THINKING_ENABLED environm… (#7330)
  fix: display 'Code Mode' instead of 'code_execution' in CLI (#7321)
  docs: add Permission Policy documentation for MCP Apps (#7325)
  update RPI plan prompt (#7326)
  docs: add CLI syntax highlighting theme customization (#7324)
  fix(cli): replace shell-based update with native Rust implementation (#7148)
  docs: rename Code Execution extension to Code Mode extension (#7316)
  docs: remove ALPHA_FEATURES flag from documentation (#7315)
  docs: escape variable syntax in recipes (#7314)
  docs: update OTel environment variable and config guides (#7221)
  docs: system proxy settings (#7311)
  docs: add Summon extension tutorial and update Skills references (#7310)
  docs: agent session id (#7289)
  fix(gemini-cli): restore streaming lost in #7247 (#7291)
  Update more instructions (#7305)
  feat: add Moonshot and Kimi Code declarative providers (#7304)
  fix(cli): handle Reasoning content and fix streaming thinking display (#7296)
  feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments