fix: default Groq model → llama-4-scout, normalize tool_calls type in history
All checks were successful
Deploy / deploy (push) Successful in 1m26s

This commit is contained in:
Cosmo
2026-05-01 13:25:45 +00:00
parent 6199db2977
commit 8886d1d907
3 changed files with 12 additions and 5 deletions

View File

@@ -807,12 +807,12 @@ function SettingsTab({ city, onCityChange, onLogout, theme, onThemeChange }: { c
fontSize: 13, fontWeight: 600, cursor: 'pointer', transition: 'all 0.2s ease',
}}
>
{p === 'anthropic' ? '🧠 Claude Haiku' : '⚡ Groq Llama'}
{p === 'anthropic' ? '🧠 Claude Haiku' : '⚡ Groq Llama 4'}
</button>
))}
</div>
<div style={{ fontSize: 11, color: 'var(--text-tertiary)', marginTop: 8, lineHeight: 1.5 }}>
{voiceProvider === 'anthropic' ? 'Claude Haiku — точнее, лучше с tools. Платный (~$0.001/запрос).' : 'Groq Llama — быстро, бесплатно. Иногда глючит с tools.'}
{voiceProvider === 'anthropic' ? 'Claude Haiku — точнее, лучше с tools. Платный (~$0.001/запрос).' : 'Groq Llama 4 Scout — быстро, бесплатно. Хорошо работает с tools.'}
</div>
</div>