Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove strict Parameter from Tool Schema When False #179

Closed

Conversation

bonk1t
Copy link
Collaborator

@bonk1t bonk1t commented Oct 16, 2024

Description

This PR removes the strict parameter when it is set to False in the get_oai_tools method of agency_swarm/agents/agent.py. This change ensures correct functionality and compatibility with the Azure OpenAI API by eliminating conflicting configurations.

Fixes #177

@bonk1t bonk1t changed the title Remove strict Parameter from get_oai_tools Method Remove strict Parameter When Set to False in get_oai_tools Oct 16, 2024
@bonk1t bonk1t changed the title Remove strict Parameter When Set to False in get_oai_tools Remove strict Parameter from Tool Schema When False Oct 16, 2024
@bonk1t bonk1t closed this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure OpenAI not working with Agents - Unknown parameter: 'tools[0].function.strict
1 participant