Skip to content

feat: make non-streaming agent loop return messages #1445

@joshua-mo-143

Description

@joshua-mo-143
  • I have looked for existing issues (including closed) about this

Feature Request

We should allow the non-streaming agent loop to return messages natively in the agent loop instead of forcing users to use &mut chat_history.

This will require accumulation of message history, as well as adding potentially another variant of typestate (maybe something like FullDetails?) to Agent.

Motivation

Better DX

Proposal

See ExtendedDetails, but now you also return the message history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions