mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-26 23:56:02 +08:00
fix(presets): correct OpenClaw Kimi For Coding base URL to /coding/v1
This commit is contained in:
@@ -151,7 +151,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://api.kimi.com/v1",
|
||||
baseUrl: "https://api.kimi.com/coding/v1",
|
||||
apiKey: "",
|
||||
api: "openai-completions",
|
||||
models: [
|
||||
@@ -169,8 +169,8 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
templateValues: {
|
||||
baseUrl: {
|
||||
label: "Base URL",
|
||||
placeholder: "https://api.kimi.com/v1",
|
||||
defaultValue: "https://api.kimi.com/v1",
|
||||
placeholder: "https://api.kimi.com/coding/v1",
|
||||
defaultValue: "https://api.kimi.com/coding/v1",
|
||||
editorValue: "",
|
||||
},
|
||||
apiKey: {
|
||||
|
||||
Reference in New Issue
Block a user