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

Labels

pythonv1.0Features being tracked for the version 1.0 GA

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions