QueryGPT icon indicating copy to clipboard operation
QueryGPT copied to clipboard

Fix history loading, add Dual-View mode and Model Management

Open google-labs-jules[bot] opened this issue 2 months ago • 1 comments

  1. History Loading Fix: Updated backend chat_api.py to include steps in execution_details when saving history. Updated frontend App.jsx to correctly load steps from execution.steps or execution_details.steps.
  2. Dual-View Mode: Implemented a User/Developer mode toggle in the frontend. "User Mode" simplifies the output (hiding SQL/JSON), while "Developer Mode" shows full details.
  3. Stop Button: Replaced the "Send" button with a "Stop" button during generation, wired to /api/stop_query.
  4. Model Management: Added a UI in SettingsModal.jsx to add and delete models directly from the frontend.
  5. Internationalization (i18n): Added LanguageContext, English/Chinese locale files, and replaced hardcoded strings in the UI.
  6. Bug Fixes: Fixed a missing Brain import in App.jsx that caused a crash. Fixed LanguageContext default logic.

PR created automatically by Jules for task 2194923725017469909 started by @MKY508

google-labs-jules[bot] avatar Nov 22 '25 08:11 google-labs-jules[bot]

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

google-labs-jules[bot] avatar Nov 22 '25 08:11 google-labs-jules[bot]