fix: Fix chat completions tests (#1442)
This commit is contained in:
@@ -10,7 +10,7 @@ class OptimisticJSONParser:
|
||||
tries to tolerate incomplete strings and incomplete numbers.
|
||||
"""
|
||||
|
||||
def __init__(self, strict=True):
|
||||
def __init__(self, strict=False):
|
||||
self.strict = strict
|
||||
self.parsers = {
|
||||
" ": self.parse_space,
|
||||
|
||||
@@ -115,7 +115,7 @@ def agent(client, roll_dice_tool, weather_tool):
|
||||
agent_state = client.create_agent(
|
||||
name=f"test_compl_{str(uuid.uuid4())[5:]}",
|
||||
tool_ids=[roll_dice_tool.id, weather_tool.id],
|
||||
include_base_tools=False,
|
||||
include_base_tools=True,
|
||||
)
|
||||
yield agent_state
|
||||
client.delete_agent(agent_state.id)
|
||||
|
||||
Reference in New Issue
Block a user