-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Open
Copy link
Labels
bugSomething isn't workingSomething isn't workingmodel clientsIssues related to the model client implementationsIssues related to the model client implementationspythonv1.0Features being tracked for the version 1.0 GAFeatures being tracked for the version 1.0 GA
Description
Language
Python
Type of Issue
Bug
agent-framework-core
1.0.0b251223
agent-framework-azure-ai
1.0.0b251223
agent-framework-anthropic
1.0.0b251223
agent-framework-azurefunctions
1.24.0
Description
Running a Group chat with three Anthropic agents. When the workflow ends, it throws the following exception:
pydantic_core._pydantic_core.ValidationError: 1 validation error for ManagerSelectionResponse
Invalid JSON: expected value at line 1 column 1 [type=json_invalid, input_value="Good! The file doesn't ...ation check guidelines.", input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/json_invalid
When I run the application using GPT-5.2, the streamed messages unpacked from AgentRunUpdateEvent are always in JSON format, for example:
[groupchat_agent:Orchestrator]: {"selected_participant":null,"instruction":null,"finish":true,"final_message":"Pre-execution check: Table already exists on drive.\n\nPer instructions, marking file as done (no execution needed)."}
However, event data from claude (sonnet 4.5) doesn't seem to packed as JSON like that, it's always plain text. Would it be possible for the framework to wrap everything in valid JSONs?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmodel clientsIssues related to the model client implementationsIssues related to the model client implementationspythonv1.0Features being tracked for the version 1.0 GAFeatures being tracked for the version 1.0 GA
Type
Projects
Status
Planned