-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
When I use ANTHROPIC_BASE_URL=https://api.moonshot.cn/anthropic and ANTHROPIC_MODEL=kimi-k2.5 to call Kimi 2.5 in Claude Code, I encounter the following error.
Does this indicate that Kimi's Anthropic-compatible interface does not support the document parameter? I did not find relevant information at https://platform.moonshot.cn/docs/overview.
error message:
API Error: 400 {"error":{"type":"invalid_request_error","message":"messages.8.content.4: Input tag 'document' found using 'type' does not match any of the expected tags: 'image', 'server_tool_use', 'text', 'thinking', 'tool_result', 'tool_use', 'web_search_tool_result'"},"request_id":"07b127d8-1e27-11f1-88f4-221de854e451","type":"error"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels