Commits
Click on a commit to change the comparison rangefix: update tool_choice logic for Azure-hosted models
Modified the tool_choice assignment in BaseChatOpenAI to set a default value based on the API base URL. If the base URL indicates an Azure-hosted model, the tool_choice is set to "required"; otherwise, it defaults to the tool name. This change enhances compatibility with Azure deployments.15 hours ago
by AhmedTammaa [lint]15 hours ago
by AhmedTammaa formatting14 hours ago
by AhmedTammaa