Update humaneval benchmark & utils; fixs some bug in action node.

This commit is contained in:
didi 2024-08-01 15:33:55 +08:00
parent d671e6ca6d
commit 96bd3101ec
5 changed files with 35 additions and 13 deletions

View file

@ -539,7 +539,7 @@ class ActionNode:
if self.schema:
schema = self.schema
if mode == self.MODE_CODE_FILL:
if mode == MODE_CODE_FILL:
result = await self.code_fill(context, function_name, timeout)
self.instruct_content = self.create_class()(**result)
return self