修复和优化agent sdk预检和安装
This commit is contained in:
@@ -153,7 +153,10 @@ pub fn from_registry_id(id: &str) -> Option<AgentType> {
|
||||
}
|
||||
|
||||
pub fn get_agent_meta(agent_type: AgentType) -> AcpAgentMeta {
|
||||
debug_assert_eq!(from_registry_id(registry_id_for(agent_type)), Some(agent_type));
|
||||
debug_assert_eq!(
|
||||
from_registry_id(registry_id_for(agent_type)),
|
||||
Some(agent_type)
|
||||
);
|
||||
match agent_type {
|
||||
AgentType::Auggie => AcpAgentMeta {
|
||||
agent_type,
|
||||
|
||||
Reference in New Issue
Block a user