syntax = "proto3"; option go_package = ".;pb"; import "agents/agents_db.proto"; message AgentsGetAgentsReq{ } message AgentsGetAgentsResp{ repeated DBVoitransAgent agents = 1; //@go_tags(`json:"agents"`) //智能体列表 } message AgentsGetAgentUrlReq{ string agent_id = 1; //@go_tags(`json:"agent_id"`) 智能体id } message AgentsGetAgentUrlResp{ string connect_url = 1; //@go_tags(`json:"connect_url"`) 智能体连接url string token = 2; //@go_tags(`json:"token"`) 访问token string expires_at = 3; //@go_tags(`json:"expires_at"`) 过期时间 int32 expires_in = 4; //@go_tags(`json:"expires_in"`) 过期秒数 AgentInfo agent = 5; //@go_tags(`json:"agent"`) 智能体信息 } message AgentInfo{ string agent_id = 1; //@go_tags(`json:"agent_id"`) 智能体id string name = 2; //@go_tags(`json:"name"`) 智能体名称 string type = 3; //@go_tags(`json:"type"`) 智能体类型 string description = 4; //@go_tags(`json:"description"`) 智能体描述 }