Skip to content

[Bug] Agno OS db not storing agent id, conflicting with API docs #5883

@sccolbert

Description

@sccolbert

Description

I'm looking at these docs, which show that a request to /sessions/$sessionId should return the agent id for the session:

https://docs.agno.com/reference-api/schema/sessions/get-session-by-id

But if I look at the SQL db dump, the agent id is null, even though the chat history is there.

Image

Even when loading the JSON from /sessions/$sessionId there is nothing in the response or chat history that indicates which agent generated which response. When looking at the same session in the Control Plane, the agent is undefined:

Image

Did y'all change your mental model to supporting multiple agents in a single chat?

Steps to Reproduce

as it says on the tin.

Agent Configuration (if applicable)

No response

Expected Behavior

I would expect the docs to reflect reality.

Actual Behavior

The API docs do not reflect reality.

Screenshots or Logs (if applicable)

No response

Environment

macOS - Agno latest version from pip on day of filing.

Possible Solutions (optional)

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions