mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-29 04:54:49 +02:00
[Haik]: ok ik this looks like alot but basically all i did was move the HaikFix folder to the backend root, then irenamed the apps folder to OLDapps, then i renamed HaikFix to apps
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