ai: Add an eval for the inline assistant (#43291)

Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
Michael Benfield
2025-12-03 20:32:25 +00:00
committed by GitHub
co-authored by Mikayla Maki
parent 92dcfdef76
commit 290a1550aa
19 changed files with 832 additions and 397 deletions
+5
View File
@@ -135,6 +135,11 @@ impl LanguageModelRegistry {
fake_provider
}
#[cfg(any(test, feature = "test-support"))]
pub fn fake_model(&self) -> Arc<dyn LanguageModel> {
self.default_model.as_ref().unwrap().model.clone()
}
pub fn register_provider<T: LanguageModelProvider + LanguageModelProviderState>(
&mut self,
provider: Arc<T>,