feat(oauth): enhance tool provider updates with name validation and include credential ID in agent tools

This commit is contained in:
Harry
2025-07-13 13:39:21 +08:00
parent f9c4897ff3
commit 458e44133e
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ class AgentConfigManager:
"provider_id": tool["provider_id"],
"tool_name": tool["tool_name"],
"tool_parameters": tool.get("tool_parameters", {}),
"credential_id": tool.get("credential_id", None),
}
agent_tools.append(AgentToolEntity(**agent_tool_properties))