eval: Don't read the model from the user settings (#31230)

This PR fixes an issue where the eval was incorrectly pulling the
provider/model from the user settings, which could cause problems when
running certain evals.

Was introduced in #30168 due to the restructuring after the removal of
the `assistant` crate.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-05-22 20:21:35 -04:00 committed by GitHub
parent f8b997b25c
commit cb52acbf3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View file

@ -432,6 +432,7 @@ pub fn init(cx: &mut App) -> Arc<AgentAppState> {
client.clone(),
prompt_builder.clone(),
languages.clone(),
true,
cx,
);
assistant_tools::init(client.http_client(), cx);