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

fix ai-settings retrieval #14221

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

eneufeld
Copy link
Contributor

What it does

The languageModelRequirements can be undefined and this needs to be correctly handled by callers.

How to test

Check that your settings have no entries for ai-agents. Now just disable an ai-agent using the ai configuration view. Now try to use this agent. See an error.
With the fix, the language model is correctly resolved to a default value.

Follow-ups

Review checklist

Reminder for reviewers

The languageModelRequirements can be undefined and
this needs to be correcly handled by callers.
@JonasHelming JonasHelming merged commit 81ba5a8 into eclipse-theia:master Sep 26, 2024
11 checks passed
@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
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants