mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-25 01:53:40 +00:00
17 lines
527 B
Python
17 lines
527 B
Python
from pydantic import BaseModel, ConfigDict, Field
|
|
|
|
|
|
class SkillEvolutionConfig(BaseModel):
|
|
"""Configuration for agent-managed skill evolution."""
|
|
|
|
model_config = ConfigDict(frozen=True)
|
|
|
|
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.",
|
|
)
|