- `language_model` no longer depends on provider-specific crates such as `anthropic` and `open_ai` (inverted dependency) - `language_model_core` was extracted from `language_model` which contains the types for the provider-specific crates to convert to/from. - `gpui::SharedString` has been extracted into its own crate (still exposed by `gpui`), so `language_model_core` and provider API crates don't have to depend on `gpui`. - Removes some unnecessary `&'static str` | `SharedString` -> `String` -> `SharedString` conversions across the codebase. - Extracts the core logic of the cloud `LanguageModelProvider` into its own crate with simpler dependencies. Release Notes: - N/A --------- Co-authored-by: John Tur <john-tur@outlook.com>
18 lines
300 B
Rust
18 lines
300 B
Rust
pub mod anthropic;
|
|
pub mod bedrock;
|
|
pub mod cloud;
|
|
pub mod copilot_chat;
|
|
pub mod deepseek;
|
|
pub mod google;
|
|
pub mod lmstudio;
|
|
pub mod mistral;
|
|
pub mod ollama;
|
|
pub mod open_ai;
|
|
pub mod open_ai_compatible;
|
|
pub mod open_router;
|
|
pub mod opencode;
|
|
|
|
pub mod vercel;
|
|
pub mod vercel_ai_gateway;
|
|
pub mod x_ai;
|