fix(audit): remover response_format para openrouter e melhorar placeholder

This commit is contained in:
2026-07-11 20:40:55 +00:00
parent 67d55b8142
commit 21c18afd02
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ export default function AuditPanel() {
<Input
value={config.baseUrl ?? ''}
onChange={(e) => setConfig((c) => ({ ...c, baseUrl: e.target.value || undefined }))}
placeholder="https://api.openai.com/v1"
placeholder={config.provider === 'openrouter' ? 'https://openrouter.ai/api/v1 (padrão)' : config.provider === 'ollama' ? 'http://localhost:11434 (padrão)' : 'https://api.openai.com/v1'}
/>
</div>
</div>