mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-11 12:17:45 +02:00
13 lines
280 B
Python
13 lines
280 B
Python
from pydantic import BaseModel, Field
|
|
from typing import Optional
|
|
from uuid import uuid4
|
|
|
|
|
|
class Skill(BaseModel):
|
|
id: str = Field(default_factory=lambda: uuid4().hex)
|
|
name: str
|
|
description: str = ""
|
|
content: str = ""
|
|
file_path: str = ""
|
|
command: str = ""
|