Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions src/toad/agent_binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
from __future__ import annotations
from abc import ABC, abstractmethod
from functools import cached_property
from agent_comms.thread_presentation import ThreadPresentation
from textual.content import Content
from toad.agent_presentation import LocalAgentPresentation
from toad.acp.agent_configuration import AgentConfiguration
from toad.acp.agent_session import UnopenedSessionDisposition


class AgentConnection(ABC):
@abstractmethod
async def observe_thread_presentation(
self, presentation: ThreadPresentation | None
) -> None: ...

def thread_read(self):
from toad.acp.comms_updates import NoPendingThreadRead
return NoPendingThreadRead()
Expand Down
Loading
Loading