mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-04 11:43:57 +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",
|
websiteUrl: "https://www.kimi.com/code/?aff=cc-switch",
|
||||||
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
apiKeyUrl: "https://platform.kimi.com/console/api-keys?aff=cc-switch",
|
||||||
settingsConfig: {
|
settingsConfig: {
|
||||||
baseUrl: "https://api.kimi.com/v1",
|
baseUrl: "https://api.kimi.com/coding/v1",
|
||||||
apiKey: "",
|
apiKey: "",
|
||||||
api: "openai-completions",
|
api: "openai-completions",
|
||||||
models: [
|
models: [
|
||||||
@@ -169,8 +169,8 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
|||||||
templateValues: {
|
templateValues: {
|
||||||
baseUrl: {
|
baseUrl: {
|
||||||
label: "Base URL",
|
label: "Base URL",
|
||||||
placeholder: "https://api.kimi.com/v1",
|
placeholder: "https://api.kimi.com/coding/v1",
|
||||||
defaultValue: "https://api.kimi.com/v1",
|
defaultValue: "https://api.kimi.com/coding/v1",
|
||||||
editorValue: "",
|
editorValue: "",
|
||||||
},
|
},
|
||||||
apiKey: {
|
apiKey: {
|
||||||
|
|||||||
Reference in New Issue
Block a user