diff --git a/src/components/settings/sections/GeneralSettings.tsx b/src/components/settings/sections/GeneralSettings.tsx index a9a644c..cbdc30a 100644 --- a/src/components/settings/sections/GeneralSettings.tsx +++ b/src/components/settings/sections/GeneralSettings.tsx @@ -455,6 +455,52 @@ const GeneralSettings: React.FC = () => { value={compatibleBaseUrl} onChange={(e) => handleCompatibleBaseUrlChange(e.target.value)} /> +
+ Quick presets:{' '} + { + e.preventDefault(); + handleCompatibleBaseUrlChange('http://localhost:11434/v1/chat/completions'); + }} + style={{ color: '#5a9fd4', textDecoration: 'underline', cursor: 'pointer' }} + > + Ollama + + {' | '} + { + e.preventDefault(); + handleCompatibleBaseUrlChange('http://localhost:8080/v1/chat/completions'); + }} + style={{ color: '#5a9fd4', textDecoration: 'underline', cursor: 'pointer' }} + > + llama.cpp + + {' | '} + { + e.preventDefault(); + handleCompatibleBaseUrlChange('http://127.0.0.1:8317/v1/chat/completions'); + }} + style={{ color: '#5a9fd4', textDecoration: 'underline', cursor: 'pointer' }} + > + CLIProxyAPI + + {' | '} + { + e.preventDefault(); + handleCompatibleBaseUrlChange('https://openrouter.ai/api/v1/chat/completions'); + }} + style={{ color: '#5a9fd4', textDecoration: 'underline', cursor: 'pointer' }} + > + OpenRouter + +