API Updates to facilitate nested runtimes. (#8525)

This commit is contained in:
tofarr
2025-05-15 15:38:09 -06:00
committed by GitHub
parent 21d0990be4
commit 033788c2d0
7 changed files with 134 additions and 75 deletions

View File

@@ -0,0 +1,14 @@
from dataclasses import dataclass
from openhands.events.event_store_abc import EventStoreABC
@dataclass
class AgentLoopInfo:
"""
Information about an agent loop - the URL on which to locate it and the event store
"""
conversation_id: str
url: str | None
api_key: str | None
event_store: EventStoreABC

View File

@@ -19,4 +19,6 @@ class ConversationInfo:
selected_repository: str | None = None
trigger: ConversationTrigger | None = None
num_connections: int = 0
url: str | None = None
api_key: str | None = None
created_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc))