update schema validate code and rename kind => type in agent_filter

This commit is contained in:
Adil Hafeez 2025-12-16 09:07:24 -08:00
parent 387d6d1b58
commit 974141b539
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
6 changed files with 37 additions and 11 deletions

View file

@ -24,7 +24,8 @@ pub struct Agent {
pub transport: Option<String>,
pub tool: Option<String>,
pub url: String,
pub kind: Option<String>,
#[serde(rename = "type")]
pub agent_type: Option<String>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]