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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user