mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
more changes
This commit is contained in:
parent
dcfc85ca74
commit
4140c1cde4
15 changed files with 883 additions and 109 deletions
|
|
@ -23,6 +23,14 @@ pub struct Agent {
|
|||
pub id: String,
|
||||
pub kind: Option<String>,
|
||||
pub url: String,
|
||||
pub tool: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct AgentFilter {
|
||||
pub id: String,
|
||||
pub url: String,
|
||||
pub tool: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
|
@ -57,6 +65,7 @@ pub struct Configuration {
|
|||
pub mode: Option<GatewayMode>,
|
||||
pub routing: Option<Routing>,
|
||||
pub agents: Option<Vec<Agent>>,
|
||||
pub agent_filters: Option<Vec<AgentFilter>>,
|
||||
pub listeners: Vec<Listener>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue