Skip to content

Commit

Permalink
Adjsuted schema
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Jan 25, 2024
1 parent 37ad11a commit 3825d7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion agency_swarm/agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ def get_openapi_schema(self, url):
{
"apiKey": []
}
]
],
"x-openai-isConsequential": False,
}
}

Expand Down
2 changes: 1 addition & 1 deletion agency_swarm/threads/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_completion(self, message: str, message_files=None, yield_messages=True):
yield MessageOutput("function", self.recipient_agent.name, self.agent.name,
str(tool_call.function))

output = self._execute_tool(tool_call)
output = self.execute_tool(tool_call)
if inspect.isgenerator(output):
try:
while True:
Expand Down

0 comments on commit 3825d7c

Please sign in to comment.