Skip to content

Commit

Permalink
Added isConsequential flag to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Mar 8, 2024
1 parent accfae4 commit 1e04327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agency_swarm/tools/ToolFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,14 +365,15 @@ def get_openapi_schema(tools: List[Type[BaseTool]], url: str, title="Agent Tools
"post": {
"description": openai_schema['description'],
"operationId": openai_schema['name'],
"x-openai-isConsequential": False,
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": openai_schema['parameters']
}
}
}
},
}
}

Expand Down

0 comments on commit 1e04327

Please sign in to comment.