mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-17 15:17:40 +02:00
[Haik]: ckpt, swapped the HaikFix folder to be parallel to the agents folder bc ima start the full replacement process i think
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from typing import Optional
|
||||
from pydantic import BaseModel
|
||||
from backend.apps.HaikFix.tools.shared_structs.TOOL_PERMISSIONS import TOOL_PERMISSIONS
|
||||
from typeguard import typechecked
|
||||
|
||||
class Tool(BaseModel):
|
||||
name: str
|
||||
description: Optional[str] = None
|
||||
deferred: bool
|
||||
permission: TOOL_PERMISSIONS
|
||||
|
||||
@typechecked
|
||||
def to_sdk_args(self) -> str:
|
||||
return self.name
|
||||
Reference in New Issue
Block a user