Spaces:
Sleeping
Sleeping
Commit History
-
fix
17e7bd7 -
fix
b00a200 -
Reset SQL on new attempt so attempts don't concatenate in the same box
b15235a -
Surface GEPA optimization: prompt history, live banner, smart retry
Backend: - Add /api/prompt-history endpoint (pareto front + query count + nextOptimizeAt) - Emit gepa_start/gepa_done SSE events so banner shows during optimization - Accept previousSql in execute-query to tell LLM to try a different approach Frontend: - Retry after marking "wrong" auto-executes with previous SQL as context (button changes label to "Retry differently") - gepa_done event refreshes PromptEvolution in right sidebar immediately - PromptEvolution shows query count + progress bar toward next optimization - PromptEvolution polls /api/prompt-history every 30saa3ae1f -
Surface real error messages and fix LLM exception formatting
- LLM exceptions (401, rate limit, etc.) now show clean message instead of raw HTML or full stack trace - Backend error events now consistently use 'message' field - Frontend reads event.message ?? event.error so actual errors are shown - Bail early if LLM returns empty responsee9bea1b -
Initial submission: SQL Agent OpenEnv for Meta+HF hackathon
3c665d2