Fix three plan message issues:

1. Fix Ollama 504 Gateway Timeout - add 30s timeout to prevent long hangs
2. Add Ollama to provider error classification for proper fallback handling
3. Show model selector when proceed with build modal opens

These fixes ensure Ollama failures are handled gracefully with proper fallback
to Groq, and users can select their model before starting the build.
This commit is contained in:
southseact-3d
2026-02-10 10:00:38 +00:00
parent b904e35528
commit a6ba703fd8
2 changed files with 21 additions and 1 deletions

View File

@@ -107,6 +107,13 @@ function updateBuildModeUI(modeOverride) {
async function proceedWithBuild(planContent) {
if (!planContent) return;
pendingPlanContent = planContent;
// Show model selector when build confirmation modal opens
// This allows user to choose their model before starting the build
if (el.modelSelectWrap) {
el.modelSelectWrap.style.display = 'inline-flex';
}
if (el.confirmBuildModal) {
el.confirmBuildModal.style.display = 'flex';
} else {