Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🪞 fix: Match Prompt Cache TTL Control to Region Combobox Styling (#13839)

Danny Avila2c6db6bf7375
diff --git a/packages/data-provider/src/parameterSettings.ts b/packages/data-provider/src/parameterSettings.ts
index 39ff99d7c9..bb746fbf86 100644
--- a/packages/data-provider/src/parameterSettings.ts
+++ b/packages/data-provider/src/parameterSettings.ts
@@ -415,11 +415,11 @@ const anthropic: Record<string, SettingDefinition> = {
type: 'enum',
default: anthropicSettings.promptCacheTtl.default,
options: ['5m', '1h'],
- component: 'dropdown',
+ component: 'combobox',
optionType: 'conversation',
showDefault: false,
- placeholder: 'com_endpoint_prompt_cache_ttl_default',
- placeholderCode: true,
+ selectPlaceholder: 'com_endpoint_prompt_cache_ttl_default',
+ selectPlaceholderCode: true,
columnSpan: 2,
},
thinking: {
@@ -577,11 +577,11 @@ const bedrock: Record<string, SettingDefinition> = {
type: 'enum',
default: undefined,
options: ['5m', '1h'],
- component: 'dropdown',
+ component: 'combobox',
optionType: 'conversation',
showDefault: false,
- placeholder: 'com_endpoint_prompt_cache_ttl_default',
- placeholderCode: true,
+ selectPlaceholder: 'com_endpoint_prompt_cache_ttl_default',
+ selectPlaceholderCode: true,
columnSpan: 2,
},
reasoning_effort: {