15 lines
471 B
Python
15 lines
471 B
Python
from pydantic import BaseModel, Field
|
|
|
|
|
|
class SkillEvolutionConfig(BaseModel):
|
|
"""Configuration for agent-managed skill evolution."""
|
|
|
|
enabled: bool = Field(
|
|
default=False,
|
|
description="Whether the agent can create and modify skills under skills/custom.",
|
|
)
|
|
moderation_model_name: str | None = Field(
|
|
default=None,
|
|
description="Optional model name for skill security moderation. Defaults to the primary chat model.",
|
|
)
|