Skip to content

Python: sessions: Add get_new_session, get_session_by_id methods #3588

@eavanvalkenburg

Description

@eavanvalkenburg

Add helper methods for session/thread management:

  • get_new_session() - should not have side-effects like chat history provider being called
  • get_session_by_id(id)
  • get_session_from_history(history)

File: python/packages/core/agent_framework/_threads.py
Location: Line ~310

Action: Implement these session management helper methods.

Parent issue: #3575

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions