File size: 511 Bytes
51ff9e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from dataclasses import dataclass, field

from openhands.events.event_store_abc import EventStoreABC
from openhands.storage.data_models.conversation_status import ConversationStatus


@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
    session_api_key: str | None
    event_store: EventStoreABC | None
    status: ConversationStatus = field(default=ConversationStatus.RUNNING)