-
Notifications
You must be signed in to change notification settings - Fork 961
feat: Enhance Chutes AI provider with comprehensive API support and model reorganization #2307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Adding chutes.ai Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8
…onological ordering - Grouped models by architecture/family (DeepSeek, Qwen, Gemma, Llama, Mistral, Moonshot/Kimi) - Ordered models within each group from newest to oldest based on release timelines - Added clear section comments for better navigation - Maintained all model configurations and type safety
|
Context
This PR significantly enhances the Chutes AI provider integration with three major improvements:
Implementation
1. Complete Chutes API Parameter Support (26 new parameters):
provider-settings.ts
seed
,top_p
,frequency_penalty
,presence_penalty
,stop
,min_p
,best_of
,logprobs
,ignore_eos
,logit_bias
,min_tokens
,top_logprobs
,length_penalty
,stop_token_ids
,prompt_logprobs
,response_format
,use_beam_search
,repetition_penalty
,skip_special_tokens
,include_stop_str_in_output
,spaces_between_special_tokens
2. Model Reorganization & Expansion:
Logical Grouping: Organized 65+ models into architectural families:
Chronological Ordering: Within each group, models ordered newest to oldest based on release timelines
Enhanced Documentation: Clear section comments with ordering rationale
3. Embedding Model Support:
chutes-baai-bge-large-en-v1-5
embedding model with proper configurationTechnical Details:
Files Modified:
packages/types/src/provider-settings.ts
- Schema validation (+26 parameters)src/api/providers/chutes.ts
- API parameter implementationpackages/types/src/providers/chutes.ts
- Model reorganization (615+ changes)src/shared/embeddingModels.ts
- Embedding model additionType Safety: All changes maintain full TypeScript compatibility
Backward Compatibility: All existing functionality preserved
Screenshots
How to Test
API Parameter Testing:
Model Availability:
Embedding Model:
chutes-baai-bge-large-en-v1-5
embedding modelType Safety:
npm run type-check
to confirm no compilation errorsGet in Touch
Available in Kilo Code Discord for questions user id: 176349800646705154