Skip to content

fix(planner): handle concatenated plan responses - #580

Open
March-77 wants to merge 1 commit into
spring-ai-alibaba:mainfrom
March-77:agent/issue-275-concatenated-plans
Open

fix(planner): handle concatenated plan responses#580
March-77 wants to merge 1 commit into
spring-ai-alibaba:mainfrom
March-77:agent/issue-275-concatenated-plans

Conversation

@March-77

Copy link
Copy Markdown
Contributor

Summary

  • detect when the planner model emits multiple complete JSON root objects in one response
  • use the final complete plan so model self-corrections are not silently ignored
  • preserve the existing converter path for normal single-plan responses and wrapped output

Validation

  • ./mvnw -pl data-agent-management -Dtest=PlanProcessUtilTest test (13 tests)
  • ./mvnw -pl data-agent-management test (1630 tests)

Fixes #275

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.

[BUG] PlannerNode节点生成的json总是黏在一起

1 participant