CommandCodeAI / CommandCodeAI/command-code

Error: 400 400 Invalid request: tools.function.parameters is not a valid moonshot

Open
#594 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.