066f36fa13
* feat: add Moonshot and Kimi Coding Plan as LLM providers Add two new providers for Moonshot AI: - `moonshot`: OpenAI-compatible direct API (api.moonshot.cn/v1) with kimi-k2.5, kimi-k2-thinking, moonshot-v1-auto/128k/32k/8k models - `kimi-coding`: Anthropic-compatible Kimi Coding Plan endpoint (api.kimi.com/coding/) with User-Agent header for compatibility Both providers disable thinking to avoid multi-turn tool calling errors caused by LangChain dropping reasoning_content from history. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: update Moonshot thinking comment and add provider assertions - Add clarifying comment for disabling thinking on all Moonshot models - Add moonshot and kimi-coding assertions to test_entries_has_all_providers * fix: exclude Moonshot and Kimi Coding from content patch Tested and verified both APIs support standard list content format: - Moonshot (OpenAI-compatible): supports list content, no patch needed - Kimi Coding (Anthropic-compatible): supports list content, no patch needed Only apply _patch_openai_compat_content to strict providers like DeepSeek. * fix: set _original_provider in routed provider branches Ensure _original_provider is set before provider is reassigned to 'openai' or 'anthropic', so the no-patch exclusion for Moonshot and Kimi Coding works correctly. * style: translate Moonshot comments to English * style: translate comment to English to fix ruff lint error * merge: resolve conflicts * chore: revert uv.lock and translate Chinese comments to English Revert unrelated uv.lock dependency changes and replace Chinese code comments with English for codebase consistency per review feedback. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style: fix ruff format for models.py Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: ypd <ypd@ypddeMac-mini.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Xi Zhang <106144707+X-iZhang@users.noreply.github.com> Co-authored-by: Xiaohui Yan <xhcloud@gmail.com> Co-authored-by: X-iZhang <zacharyzhang2022@gmail.com>