CommandCodeAI / CommandCodeAI/command-code
Error: 400 400 Invalid request: tools.function.parameters is not a valid moonshot
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Error: 400 400 Invalid request: tools.function.parameters is not a valid moonshot flavored json schema, details: <At path 'properties.filters.properties.hiddenPageDuration.$ref':
references must start with #/$de...
i get this anytime i try usig kimi k3
Expected Behavior
it to work
Actual Behavior
getting this error
Steps to reproduce the issue
i just start cmd and try k3
Command Code Version
1.4.3
Operating System
macOS
Terminal/IDE
Terminal
Shell
zsh
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by starting Command Code 1.4.3 in Terminal on macOS with zsh and selecting Kimi K3. Inspect how the tool function parameters are sent to the Kimi endpoint; done means the same command no longer returns the 400 schema-reference error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- zsh
- Domain
- ai, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100