chore: add AI tool configs and fix server.py indentation
This commit is contained in:
@@ -421,8 +421,8 @@ async def connect_device(device_id: str, credential_id: str) -> Dict[str, Any]:
|
||||
command = "show version"
|
||||
else:
|
||||
command = "show version"
|
||||
|
||||
logger.info(f"尝试获取版本信息,平台: {platform},命令: {command}")
|
||||
|
||||
logger.info(f"尝试获取版本信息,平台: {platform},命令: {command}")
|
||||
|
||||
# 直接使用Scrapli连接对象发送命令
|
||||
if hasattr(connector.connection, "send_command"):
|
||||
|
||||
Reference in New Issue
Block a user