-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't working
Description
Describe the bug
It appears that SK currently removes any ImageContent
in a user message before it's sent to OpenAI. The offending code seems to be this ToResponseItem
call. The implementation of this method only retains the main chat string and ignores all items.
Pseudocode:
ChatMessageContent userMessage = new ChatMessageContent(AuthorRole.User, "describe the image");
userMessage.Items.Add(new ImageContent(imageUri));
await foreach (AgentResponseItem<ChatMessageContent> response in agent.InvokeAsync(userMessage))
{
// ...
}
Platform
- Language: C#
- Source: NuGet package version 1.61.0
- AI model: o3-pro
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't working
Type
Projects
Status
Sprint: Done