Skip to content

Issue on docsΒ #414

@aonix-group

Description

@aonix-group

Path: /introduction/multi-agent-systems

Issue: The cached response example is displaying empty content when cache hit occurs.

Problem:
The current code in the workflow example uses RunResponse for cached responses, but pprint_run_response expects streaming events (RunResponseContentEvent) to display content properly.

Current code (incorrect):

yield RunResponse(run_id=self.run_id, content=self.session_state.get(message))

Expected code (fix):

yield RunResponseContentEvent(run_id=self.run_id, content=self.session_state.get(message))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions