113 apiKeyInput: '',
114 // Model selection
115 selectedModel: 'openai/gpt-oss-120b',
116 // Browser search tool toggle
117 useBrowserSearch: true,
1432 model: this.selectedModel,
1433 reasoning_effort: this.reasoningEffort,
1434 tools: (() => { const list = []; const isOss = !!(this.selectedModel && this.selectedModel.startsWith('openai/gpt-oss')); if (isOss) { if (this.useBrowserSearch) list.push({ type: 'browser_search' }); if (this.useCodeInterpreter) list.push({ type: 'code_interpreter' }); } return list; })(),
1435 temperature: this.temperature,
1436 ...(this.maxTokens ? { max_tokens: this.maxTokens } : {}),
1577 model: this.selectedModel,
1578 reasoning_effort: this.reasoningEffort,
1579 tools: (() => { const list = []; const isOss = !!(this.selectedModel && this.selectedModel.startsWith('openai/gpt-oss')); if (isOss) { if (this.useBrowserSearch) list.push({ type: 'browser_search' }); if (this.useCodeInterpreter) list.push({ type: 'code_interpreter' }); } return list; })(),
1580 temperature: this.temperature,
1581 ...(this.maxTokens ? { max_tokens: this.maxTokens } : {}),