Add extra field tolerance to API request models for better client compatibility
- Added extra="allow" to ChatCompletionRequest and CompletionRequest - Added common OpenAI fields: seed, logprobs, top_logprobs, response_format, user, best_of, echo - This prevents 422 errors when clients send additional fields we don't use Fixes compatibility issues with KiloCode and other OpenAI-compatible clients
Showing
Please
register
or
sign in
to comment