Merge branch 'main' into adil/agent_format

This commit is contained in:
Adil Hafeez 2025-09-16 14:54:43 -07:00
commit c1757bec88
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
26 changed files with 864 additions and 188 deletions

View file

@ -13,6 +13,11 @@ pub struct Routing {
pub model: Option<String>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ModelAlias {
pub target: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Agent {
pub name: String,
@ -41,6 +46,7 @@ pub struct Configuration {
pub version: String,
pub endpoints: Option<HashMap<String, Endpoint>>,
pub llm_providers: Vec<LlmProvider>,
pub model_aliases: Option<HashMap<String, ModelAlias>>,
pub overrides: Option<Overrides>,
pub system_prompt: Option<String>,
pub prompt_guards: Option<PromptGuards>,