feat: init commint

This commit is contained in:
2026-09-18 15:26:19 +08:00
parent 3b61a767a0
commit 9f47dbb5cc
95 changed files with 7712 additions and 1137 deletions

View File

@@ -11,6 +11,7 @@ class SkillCreateIn(Schema):
prompt_template: str = ""
input_schema: dict[str, Any] = {"type": "object"}
output_schema: dict[str, Any] = {"type": "object"}
output_enforcement: str = "validated_json"
example_input: dict[str, Any] = {}
@@ -23,6 +24,7 @@ class SkillDraftUpdateIn(Schema):
prompt_template: str | None = None
input_schema: dict[str, Any] | None = None
output_schema: dict[str, Any] | None = None
output_enforcement: str | None = None
example_input: dict[str, Any] | None = None
@@ -33,6 +35,8 @@ class SkillVersionOut(Schema):
prompt_template: str
input_schema: dict[str, Any]
output_schema: dict[str, Any]
output_enforcement: str
structured_output_metrics: dict[str, Any]
example_input: dict[str, Any]
created_at: datetime
updated_at: datetime