Skip to content

fix(dashscope): enhance support for native structured output in DashScope models#1935

Open
chickenlj wants to merge 2 commits into
agentscope-ai:mainfrom
chickenlj:fix-structuredoutput
Open

fix(dashscope): enhance support for native structured output in DashScope models#1935
chickenlj wants to merge 2 commits into
agentscope-ai:mainfrom
chickenlj:fix-structuredoutput

Conversation

@chickenlj

Copy link
Copy Markdown
Collaborator

related to #1865,#1743,#1640

@chickenlj chickenlj requested review from a team and Copilot June 26, 2026 08:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

@itxaiohanglover

Copy link
Copy Markdown
Contributor

Good robustness fix! The fallback from native to synthetic structured call prevents hard failures. The context cleanup on error (removing added messages, resetting nativeResponseFormat) is important for not corrupting state on retry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants