feat: moonshot function call (#3227)

This commit is contained in:
Yeuoly
2024-04-09 15:30:09 +08:00
committed by GitHub
parent 4ad3f2cdc2
commit a2c068d949
5 changed files with 423 additions and 21 deletions

View File

@@ -687,4 +687,4 @@ class CotAgentRunner(BaseAgentRunner):
try:
return json.dumps(tools, ensure_ascii=False)
except json.JSONDecodeError:
return json.dumps(tools)
return json.dumps(tools)