Skip to content

[Bug]: The agent node is configured with structured output, but when using the non-streaming API request, the returned value does not include the structured JSON output. #13384

@Kingsuperyzy

Description

@Kingsuperyzy

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

61209ff

RAGFlow image version

v0.24.0-136-g61209ff3b

Other environment information

macbook air m4
macos 15.5

Actual behavior

The agent node has structured output configured, but the structured JSON is missing from the response when the API is called in non-streaming mode.

The following are examples of streaming and non-streaming requests.

Image Image Image

Expected behavior

No response

Steps to reproduce

Create a workflow with an agent node and enable structured output. Then call the agent conversation API with the stream parameter set to false.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working, pull request that fix bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions