Move report_assistant_event into language_model crate (#25508)

This PR moves the `report_assistant_event` function from the
`language_models` crate to the `language_model` crate.

This allows us to drop some dependencies on `language_models`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-02-24 17:27:26 -05:00 committed by GitHub
parent e06666759a
commit e5b97a5e48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 28 additions and 34 deletions

View file

@ -27,7 +27,7 @@ use theme::ThemeSettings;
use ui::{prelude::*, Icon, IconName, Tooltip};
use util::{maybe, ResultExt};
pub const PROVIDER_ID: &str = "anthropic";
const PROVIDER_ID: &str = language_model::ANTHROPIC_PROVIDER_ID;
const PROVIDER_NAME: &str = "Anthropic";
#[derive(Default, Clone, Debug, PartialEq)]