You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
Bug: GettingStartedWithAgents Step09_Assistant_Vision fails with "only messages with 'type=text' are supported currently
.Net: Bug: GettingStartedWithAgents Step09_Assistant_Vision fails with "only messages with 'type=text' are supported currently
Nov 21, 2024
Describe the bug
Running the Step09_Assistant_Vision encounters an error.
(I verified that it is configured with a gpt4-o model.)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Test should complete without error.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
Additional context
Add any other context about the problem here.
GettingStarted.Step09_Assistant_Vision.UseSingleAssistantAgentAsync
Source: Step09_Assistant_Vision.cs line 20
Duration: 3.7 min
Message:
System.ClientModel.ClientResultException : HTTP 400 (invalid_request_error: invalid_type)
Parameter: content
Invalid message content: only messages with 'type=text' are supported currently.
Stack Trace:
ClientPipelineExtensions.ProcessMessageAsync(ClientPipeline pipeline, PipelineMessage message, RequestOptions options)
AzureAssistantClient.CreateMessageAsync(String threadId, BinaryContent content, RequestOptions options)
AssistantClient.CreateMessageAsync(String threadId, MessageRole role, IEnumerable`1 content, MessageCreationOptions options, CancellationToken cancellationToken)
AssistantThreadActions.CreateMessageAsync(AssistantClient client, String threadId, ChatMessageContent message, CancellationToken cancellationToken) line 93
<g__InvokeAgentAsync|0>d.MoveNext() line 60
--- End of stack trace from previous location ---
Step09_Assistant_Vision.UseSingleAssistantAgentAsync() line 45
Step09_Assistant_Vision.UseSingleAssistantAgentAsync() line 55
Step09_Assistant_Vision.UseSingleAssistantAgentAsync() line 55
--- End of stack trace from previous location ---
The text was updated successfully, but these errors were encountered: