Skip to content

Feature/gui personalization - #577

Merged
ArmenSl merged 10 commits into
developmentfrom
feature/gui_personalization
Jul 21, 2026
Merged

Feature/gui personalization#577
ArmenSl merged 10 commits into
developmentfrom
feature/gui_personalization

Conversation

@Aran30

@Aran30 Aran30 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Added necessary changes to:

  • Use the modeling agent for user profile models
  • Automatically adapt GUI models using an LLM combined with user profile models
  • Generate the code of the web application and its personalized variants

ArmenSl and others added 2 commits July 21, 2026 12:10
… cleanup

Addresses review feedback on #577 (organization + correctness):

- Extract the ~150-line /personalize-gui-page endpoint body into a new
  services/utils/gui_personalization_utils.py, mirroring the
  agent_personalization pattern: the ~40-line LLM system prompt is now a
  module constant, and personalize_gui_page() owns validation, prompt
  building, the OpenAI call and response parsing. The router endpoint is
  now a thin validate -> delegate -> shape-response handler.
- Consolidate the OpenAI model default into one DEFAULT_OPENAI_MODEL =
  'gpt-5' constant. Removes the inconsistent/invalid defaults the PR
  introduced (gpt-5.4-mini x7, gpt-5.6-luna) that would 404 at runtime.
- Remove a leftover print('calling now') debug statement.
- Remove two dead '... and False' branches in replace_reply_batch.
- Add test_gui_personalization.py (10 tests, LLM mocked) covering
  validation, model selection, response parsing and error mapping.

Left as-is: the translate-before-style reorder in replace_reply_batch
(appears intentional); pre-existing gpt-5.5 default at generation_router
line 172 (out of scope).
…anup

refactor(gui-personalization): extract endpoint to a module + fix model defaults
@ArmenSl
ArmenSl merged commit 69be989 into development Jul 21, 2026
5 checks passed
ArmenSl added a commit that referenced this pull request Jul 22, 2026
- Bump setup.cfg 7.12.0 -> 7.13.0 and add v7.13.0 release notes.
- Frontend submodule bump 360dcfa6 -> b14dadec: the GUI-personalization
  UI (user-profile form editor, per-profile page variants + switching,
  web-app version selection in the generation dialog) plus review
  cleanups. All GUI-personalization work; no multilingual changes.
- Backend: the GUI-personalization feature (#577), the extract-to-service
  cleanup (#578), and the user-profile OCL/parsing fixes + regression
  tests (#579) are already on development.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants