@@ -8,7 +8,7 @@ export const VIEWPORT_EXPANSION = -1
88// models
99
1010// 🥇 GPT-4.1 (best so far)
11- export const DEFAULT_MODEL_NAME : string = 'gpt-41-mini-0414-global' // baseline 🌟
11+ // export const DEFAULT_MODEL_NAME: string = 'gpt-41-mini-0414-global' // baseline 🌟
1212// export const DEFAULT_MODEL_NAME: string = 'gpt-41-0414-global' // unnecessary
1313
1414// 🤞 qwen (tool call format often irregular)
@@ -32,15 +32,19 @@ export const DEFAULT_MODEL_NAME: string = 'gpt-41-mini-0414-global' // baseline
3232// @todo need a special client for gemini
3333// export const DEFAULT_MODEL_NAME: string = 'gemini-2.5-pro-06-17'
3434
35- // export const DEFAULT_MODEL_NAME: string = import.meta.env.OPEN_ROUTER_MODEL!
35+ // Dev environment: use .env config if available, otherwise fallback to defaults
36+ export const DEFAULT_MODEL_NAME : string =
37+ import . meta. env . DEV && import . meta. env . LLM_MODEL_NAME
38+ ? import . meta. env . LLM_MODEL_NAME
39+ : 'gpt-41-mini-0414-global'
3640
37- // ak
38- export const DEFAULT_API_KEY : string = 'not-needed'
39- // export const DEFAULT_API_KEY: string = import.meta.env.OPEN_ROUTER_KEY!
41+ export const DEFAULT_API_KEY : string =
42+ import . meta. env . DEV && import . meta. env . LLM_API_KEY ? import . meta. env . LLM_API_KEY : 'not-needed'
4043
41- // base url
42- export const DEFAULT_BASE_URL : string = 'http://localhost:3000/api/agent'
43- // export const DEFAULT_BASE_URL: string = import.meta.env.OPEN_ROUTER_BASE_URL!
44+ export const DEFAULT_BASE_URL : string =
45+ import . meta. env . DEV && import . meta. env . LLM_BASE_URL
46+ ? import . meta. env . LLM_BASE_URL
47+ : 'http://localhost:3000/api/agent'
4448
4549// internal
4650
0 commit comments