proxy
proxy copied to clipboard
kimi-k2.6 error - cache_control parameter is not permitted
Using version v0.1.6 but the same error occurred in v0.1.6
time=2026-05-23T16:17:14.098+02:00 level=INFO msg="routing request" scenario=default model=kimi-k2.6 tokens=118
time=2026-05-23T16:17:14.098+02:00 level=INFO msg="attempting model" model=kimi-k2.6 attempt=1 total=3
time=2026-05-23T16:17:14.197+02:00 level=WARN msg="model failed, trying fallback" model=kimi-k2.6 error="chat completion failed: API error 400: {\"error\":{\"object\":\"error\",\"type\":\"invalid_request_error\",\"code\":\"invalid_request_error\",\"message\":\"Error from provider: Extra inputs are not permitted, field: 'messages[0].cache_control'\"}}" remaining=2 circuit_state=0
In this thread (https://github.com/samueltuyizere/oc-go-cc/issues/51), I posted a solution to the problem; however, it didn't resolve the issue completely—the agent periodically hangs for some reason, though I haven't figured out why yet, as I don't have the time.