feat: complete image console and add verified REST and MCP workflows
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"""SKILL.md API。"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from fastapi import APIRouter
|
||||
from fastapi.responses import PlainTextResponse
|
||||
|
||||
from ..services import skill_doc
|
||||
|
||||
router = APIRouter(prefix="/api", tags=["skills"])
|
||||
|
||||
|
||||
@router.get("/skills")
|
||||
def get_skills():
|
||||
return skill_doc.get_skill()
|
||||
|
||||
|
||||
@router.get("/skills/raw", response_class=PlainTextResponse)
|
||||
def get_skills_raw():
|
||||
return skill_doc.get_skill()["body"]
|
||||
Reference in New Issue
Block a user