fix provider base URL env handling (#1054)

This commit is contained in:
ekko
2026-05-27 10:41:29 +08:00
committed by GitHub
parent a10e171082
commit 07c4c1ddd5
9 changed files with 252 additions and 59 deletions
+8
View File
@@ -40,6 +40,14 @@ export const PROVIDER_PRESETS: ProviderPreset[] = [
'claude-haiku-4-5'
],
},
{
label: 'LM Studio',
value: 'lmstudio',
builtin: true,
base_url: 'http://127.0.0.1:1234/v1',
api_mode: 'chat_completions',
models: [],
},
{
label: 'Anthropic',
value: 'anthropic',