Meta Models Error with Tooling Chat History #39509
Labels
AI Model Inference
Issues related to the client library for Azure AI Model Inference (\sdk\ai\azure-ai-inference)
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
Using this SDK in a scenario where the client processing the requests can switch from an OpenAI model to a Meta model.
Working Scenario:
Failed Scenario:
client.complete(messages=messages)
:Error output:
I have checked the typing of the arguments value and it returns as type
str
. I have also tried to cast it to no avail.To Reproduce
Steps to reproduce the behavior:
Expected behavior
If I create the new client with an OpenAI model this output is a standard AssistantMessage that answers the question asked. No errors
Additional context
In the call to the Meta-based client, I am not binding any tools to it as that is not supported.
The text was updated successfully, but these errors were encountered: