Buckets:

download
raw
915 Bytes
from abc import ABC, abstractmethod
from integrations.models import Message, SourceType
class Manager(ABC):
manager_type: SourceType
@abstractmethod
async def receive_message(self, message: Message):
"Receive message from integration"
raise NotImplementedError
@abstractmethod
def send_message(self, message: Message):
"Send message to integration from Openhands server"
raise NotImplementedError
@abstractmethod
async def is_job_requested(self, message: Message) -> bool:
"Confirm that a job is being requested"
raise NotImplementedError
@abstractmethod
def start_job(self):
"Kick off a job with openhands agent"
raise NotImplementedError
def create_outgoing_message(self, msg: str | dict, ephemeral: bool = False):
return Message(source=SourceType.OPENHANDS, message=msg, ephemeral=ephemeral)

Xet Storage Details

Size:
915 Bytes
·
Xet hash:
6b5b275da4874677cbca6e6897afe1780cc90d21c2214704a8d3e54cc284c6e8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.