feat: moonshot function call (#3227)

This commit is contained in:
Yeuoly 2024-04-09 15:30:09 +08:00 committed by GitHub
commit a2c068d949
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)