File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- export const DEFAULT_GRADIUM_BASE_URL = "https://api.gradium.ai" ;
1+ const DEFAULT_GRADIUM_BASE_URL = "https://api.gradium.ai" ;
22export const DEFAULT_GRADIUM_VOICE_ID = "YTpq7expH9539ERJ" ;
33
44export const GRADIUM_VOICES = [
Original file line number Diff line number Diff line change 11import type { SpeechVoiceOption } from "openclaw/plugin-sdk/speech-core" ;
22import { fetchWithSsrFGuard , type SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime" ;
33
4- export const DEFAULT_INWORLD_BASE_URL = "https://api.inworld.ai" ;
4+ const DEFAULT_INWORLD_BASE_URL = "https://api.inworld.ai" ;
55export const DEFAULT_INWORLD_VOICE_ID = "Sarah" ;
66export const DEFAULT_INWORLD_MODEL_ID = "inworld-tts-1.5-max" ;
77
Original file line number Diff line number Diff line change 11import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared" ;
22
3- export const KIMI_BASE_URL = "https://api.kimi.com/coding/" ;
3+ const KIMI_BASE_URL = "https://api.kimi.com/coding/" ;
44const KIMI_CODING_USER_AGENT = "claude-code/0.1.0" ;
5- export const KIMI_DEFAULT_MODEL_ID = "kimi-code" ;
6- export const KIMI_LEGACY_MODEL_ID = "k2p5" ;
5+ const KIMI_DEFAULT_MODEL_ID = "kimi-code" ;
6+ const KIMI_LEGACY_MODEL_ID = "k2p5" ;
77const KIMI_CODING_DEFAULT_CONTEXT_WINDOW = 262144 ;
88const KIMI_CODING_DEFAULT_MAX_TOKENS = 32768 ;
99const KIMI_CODING_DEFAULT_COST = {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import {
1616} from "openclaw/plugin-sdk/provider-http" ;
1717import { MOONSHOT_DEFAULT_MODEL_ID } from "./provider-catalog.js" ;
1818
19- export const DEFAULT_MOONSHOT_VIDEO_BASE_URL = "https://api.moonshot.ai/v1" ;
19+ const DEFAULT_MOONSHOT_VIDEO_BASE_URL = "https://api.moonshot.ai/v1" ;
2020const DEFAULT_MOONSHOT_VIDEO_MODEL = MOONSHOT_DEFAULT_MODEL_ID ;
2121const DEFAULT_MOONSHOT_VIDEO_PROMPT = "Describe the video." ;
2222
Original file line number Diff line number Diff line change 77} from "openclaw/plugin-sdk/media-understanding" ;
88import { OPENAI_DEFAULT_AUDIO_TRANSCRIPTION_MODEL } from "./default-models.js" ;
99
10- export const DEFAULT_OPENAI_AUDIO_BASE_URL = "https://api.openai.com/v1" ;
10+ const DEFAULT_OPENAI_AUDIO_BASE_URL = "https://api.openai.com/v1" ;
1111
1212export async function transcribeOpenAiAudio ( params : AudioTranscriptionRequest ) {
1313 return await transcribeOpenAiCompatibleAudio ( {
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { normalizeModelCompat } from "openclaw/plugin-sdk/provider-model-shared"
44
55const PROVIDER_ID = "opencode-go" ;
66
7- export const OPENCODE_GO_OPENAI_BASE_URL = "https://opencode.ai/zen/go/v1" ;
8- export const OPENCODE_GO_ANTHROPIC_BASE_URL = "https://opencode.ai/zen/go" ;
7+ const OPENCODE_GO_OPENAI_BASE_URL = "https://opencode.ai/zen/go/v1" ;
8+ const OPENCODE_GO_ANTHROPIC_BASE_URL = "https://opencode.ai/zen/go" ;
99
1010const OPENCODE_GO_SUPPLEMENTAL_MODELS = (
1111 [
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const STEPFUN_STANDARD_INTL_BASE_URL = "https://api.stepfun.ai/v1";
1010export const STEPFUN_PLAN_CN_BASE_URL = "https://api.stepfun.com/step_plan/v1" ;
1111export const STEPFUN_PLAN_INTL_BASE_URL = "https://api.stepfun.ai/step_plan/v1" ;
1212
13- export const STEPFUN_DEFAULT_MODEL_ID = "step-3.5-flash" ;
13+ const STEPFUN_DEFAULT_MODEL_ID = "step-3.5-flash" ;
1414export const STEPFUN_FLASH_2603_MODEL_ID = "step-3.5-flash-2603" ;
1515export const STEPFUN_DEFAULT_MODEL_REF = `${ STEPFUN_PROVIDER_ID } /${ STEPFUN_DEFAULT_MODEL_ID } ` ;
1616export const STEPFUN_PLAN_DEFAULT_MODEL_REF = `${ STEPFUN_PLAN_PROVIDER_ID } /${ STEPFUN_DEFAULT_MODEL_ID } ` ;
You can’t perform that action at this time.
0 commit comments