Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 88 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ rig = { version = "0.33", package = "rig-core", features = ["derive"] }

# HTTP clients for LLM providers
reqwest = { version = "0.13", features = ["json", "stream", "form", "query", "gzip"] }
gemini-rust = "1.7"

# Databases
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "migrate", "chrono", "uuid"] }
Expand Down
2 changes: 1 addition & 1 deletion src/config/providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub(super) const MISTRAL_PROVIDER_BASE_URL: &str = "https://api.mistral.ai";
pub(super) const NVIDIA_PROVIDER_BASE_URL: &str = "https://integrate.api.nvidia.com";
pub(super) const FIREWORKS_PROVIDER_BASE_URL: &str = "https://api.fireworks.ai/inference";
pub(crate) const GEMINI_PROVIDER_BASE_URL: &str =
"https://generativelanguage.googleapis.com/v1beta/openai";
"https://generativelanguage.googleapis.com/v1beta/";
pub(super) const GITHUB_COPILOT_DEFAULT_BASE_URL: &str = "https://api.individual.githubcopilot.com";

/// App attribution headers sent with every OpenRouter API request.
Expand Down
1 change: 1 addition & 0 deletions src/llm.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! LLM provider management and routing.

pub mod anthropic;
pub mod gemini;
pub mod manager;
pub mod model;
pub mod pricing;
Expand Down
Loading