mirror of
https://github.com/katanemo/plano.git
synced 2026-07-14 16:22:12 +02:00
Merge branch 'shuguang/main' into salmanap/meetup-agent-demo
This commit is contained in:
commit
377f06b6ca
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ class ArchFunctionHandler(ArchBaseHandler):
|
||||||
|
|
||||||
return {"result": tool_calls, "status": is_valid, "message": error_message}
|
return {"result": tool_calls, "status": is_valid, "message": error_message}
|
||||||
|
|
||||||
def _correcting_type(value, target_type):
|
def _correcting_type(self, value, target_type):
|
||||||
try:
|
try:
|
||||||
if target_type == float and isinstance(value, int):
|
if target_type == float and isinstance(value, int):
|
||||||
return float(value)
|
return float(value)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue