feat: add moonshot provider

This commit is contained in:
yetone
2025-07-16 19:04:11 +08:00
parent 18ea95d965
commit ae06698c30
3 changed files with 35 additions and 0 deletions

View File

@@ -401,6 +401,12 @@ M._defaults = {
model = "auto",
api_key_name = "MORPH_API_KEY",
},
moonshot = {
__inherited_from = "openai",
endpoint = "https://api.moonshot.ai/v1",
model = "kimi-k2-0711-preview",
api_key_name = "MOONSHOT_API_KEY",
},
},
---Specify the special dual_boost mode
---1. enabled: Whether to enable dual_boost mode. Default to false.