Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI Agent settings are not persisted #14205

Closed
Tracked by #14119
eneufeld opened this issue Sep 20, 2024 · 0 comments · Fixed by #14206
Closed
Tracked by #14119

AI Agent settings are not persisted #14205

eneufeld opened this issue Sep 20, 2024 · 0 comments · Fixed by #14206
Milestone

Comments

@eneufeld
Copy link
Contributor

Bug Description:

Changes to the enabled or the model to use of an agent are not persisted and have to be reset on every page reload.

Steps to Reproduce:

  1. Disable an agent
  2. reload frontend
  3. see that agent is enabled again

Additional Information

  • Operating System:
  • Theia Version: latest main (0f1ebdf)
eneufeld added a commit to eneufeld/theia that referenced this issue Sep 20, 2024
The selected model was already persisted in the preferences,
but the enablement state was not.
Here the settings were extended to include the enablement state.
The new setting is consumed and updated from the AgentService.

Fixes eclipse-theia#14205
@JonasHelming JonasHelming mentioned this issue Sep 20, 2024
39 tasks
eneufeld added a commit to eneufeld/theia that referenced this issue Sep 20, 2024
The selected model was already persisted in the preferences,
but the enablement state was not.
Here the settings were extended to include the enablement state.
The new setting is consumed and updated from the AgentService.

Fixes eclipse-theia#14205
JonasHelming pushed a commit that referenced this issue Sep 20, 2024
* Add enable state of agent to preferences

The selected model was already persisted in the preferences,
but the enablement state was not.
Here the settings were extended to include the enablement state.
The new setting is consumed and updated from the AgentService.

Fixes #14205

* chore: align with ai-features preferences
@sgraband sgraband added this to the 1.54.0 milestone Sep 26, 2024
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 a pull request may close this issue.

2 participants