Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update storage api
  • Loading branch information
lusu-msft committed Jan 13, 2026
commit 068f52dd61aab7d395638d0deb3659c5ad63665e
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ async def set(self, conversation_id: str, thread: AgentThread) -> None:
"""


class AgentThreadStorage:
async def save(self, conversation_id: str, serialized_thread: str) -> None:
class AgentThreadStorage(ABC):
@abstractmethod
async def save(self, conversation_id: str, serialized_thread: Any) -> None:
pass

async def get(self, conversation_id: str) -> Optional[str]:
@abstractmethod
async def get(self, conversation_id: str) -> Optional[Any]:
pass


Expand Down