mirror of
https://github.com/instructkr/claw-code.git
synced 2026-04-18 02:15:19 +08:00
US-010: Add model compatibility documentation
Created comprehensive MODEL_COMPATIBILITY.md documenting: - Kimi models is_error exclusion (prevents 400 Bad Request) - Reasoning models tuning parameter stripping (o1, o3, o4, grok-3-mini, qwen-qwq) - GPT-5 max_completion_tokens requirement - Qwen model routing through DashScope Includes implementation details, key functions table, guide for adding new models, and testing commands. Cross-referenced with existing code comments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
progress.txt
13
progress.txt
@@ -94,3 +94,16 @@ US-009 COMPLETED (Add unit tests for kimi model compatibility fix)
|
||||
4. build_chat_completion_request_kimi_vs_non_kimi_tool_results - full integration test for request building
|
||||
- Tests: 4 new tests, 119 unit tests total in api crate (+4), all passing
|
||||
- Integration tests: 29 passing (no regressions)
|
||||
|
||||
US-010 COMPLETED (Add model compatibility documentation)
|
||||
- Files: docs/MODEL_COMPATIBILITY.md
|
||||
- Created comprehensive documentation covering:
|
||||
1. Kimi Models (is_error Exclusion) - documents the 400 Bad Request issue and solution
|
||||
2. Reasoning Models (Tuning Parameter Stripping) - covers o1, o3, o4, grok-3-mini, qwen-qwq, qwen3-thinking
|
||||
3. GPT-5 (max_completion_tokens) - documents max_tokens vs max_completion_tokens requirement
|
||||
4. Qwen Models (DashScope Routing) - explains routing and authentication
|
||||
- Added implementation details section with key functions
|
||||
- Added "Adding New Models" guide for future contributors
|
||||
- Added testing section with example commands
|
||||
- Cross-referenced with existing code comments in openai_compat.rs
|
||||
- cargo clippy passes
|
||||
|
||||
Reference in New Issue
Block a user