add preliminary support for llm agents

This commit is contained in:
Adil Hafeez 2025-03-12 15:45:05 -07:00
parent ffb8566c36
commit 8104eac596
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
17 changed files with 1508 additions and 79 deletions

View file

@ -189,7 +189,7 @@ pub struct ToolCall {
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FunctionCallDetail {
pub name: String,
pub arguments: HashMap<String, Value>,
pub arguments: Option<HashMap<String, Value>>,
}
#[derive(Debug, Deserialize, Serialize)]

View file

@ -25,6 +25,7 @@ pub struct Configuration {
pub struct Overrides {
pub prompt_target_intent_matching_threshold: Option<f64>,
pub optimize_context_window: Option<bool>,
pub use_agent_orchestrator: Option<bool>,
}
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
@ -217,6 +218,7 @@ pub struct EndpointDetails {
#[serde(rename = "http_method")]
pub method: Option<HttpMethod>,
pub http_headers: Option<HashMap<String, String>>,
pub pass_context: Option<bool>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]