Fix history loading, add Dual-View mode and Model Management
-
History Loading Fix: Updated backend
chat_api.pyto includestepsinexecution_detailswhen saving history. Updated frontendApp.jsxto correctly loadstepsfromexecution.stepsorexecution_details.steps. - 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.
-
Stop Button: Replaced the "Send" button with a "Stop" button during generation, wired to
/api/stop_query. -
Model Management: Added a UI in
SettingsModal.jsxto add and delete models directly from the frontend. -
Internationalization (i18n): Added
LanguageContext, English/Chinese locale files, and replaced hardcoded strings in the UI. -
Bug Fixes: Fixed a missing
Brainimport inApp.jsxthat caused a crash. FixedLanguageContextdefault logic.
PR created automatically by Jules for task 2194923725017469909 started by @MKY508
👋 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.