mirror of
https://github.com/langgenius/dify.git
synced 2026-02-15 22:00:53 -05:00
13 lines
407 B
Python
13 lines
407 B
Python
from pydantic import BaseModel, Field
|
|
|
|
from core.skill.entities.tool_dependencies import ToolDependency
|
|
|
|
|
|
class NodeSkillInfo(BaseModel):
|
|
"""Information about skills referenced by a workflow node."""
|
|
|
|
node_id: str = Field(description="The node ID")
|
|
tool_dependencies: list[ToolDependency] = Field(
|
|
default_factory=list, description="Tool dependencies extracted from skill prompts"
|
|
)
|