feat: add Kimi (Moonshot AI) provider + refactor admin key management #144
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_aibroker!144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor_add_remove_endpoints"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR adds Kimi (Moonshot AI) as a first-class provider and improves the admin API key management endpoints with duplicate prevention and value-based removal.
Changes
1. New Provider: Kimi (Moonshot AI)
kimi_api_keystoConfigwith full hero_proc integrationhttps://api.moonshot.cn/v1)"kimi""kimi"to fake-mode provider listsmodelsconfig.ymlto routekimi-k2through direct Kimi API (priority 1) with OpenRouter fallback (priority 2)2. Admin Key Management Improvements
providers.add_key:providers.remove_key:keyparameter and removes by valueproviders.remove_key_by_index:providers.remove_key(index-based removal preserved)key_indexparameter (0-based)3. Admin UI Updates
remove_key_by_index)remove_key)4. Documentation
docs/api.mdwith curl exampleskimiAPI Changes
Testing