Logo
Explore Help
Sign In
yilunjiang/AgentLab
1
0
Fork 0
You've already forked AgentLab
mirror of https://github.com/ThearchyHelios/AgentLab.git synced 2026-11-17 18:21:59 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
7088f4557ee4b1c9429f060ea2248bb0682fcaf4
AgentLab/backend/app/api/templates.py
T
ThearchyHelios 7088f4557e 普通用户建应用的契约骨架(docs/design/normal-user-apps.md 第五部分):蓝图、蓝图留痕、发布单、文件、记录表的模型和迁移,应用的 scope / owner / blueprint_id;运行来源加 trial、personal_app;应用描述的固定版本可以没有版本号(试运行派生的草稿)或改钉蓝图(个人应用),视图来源加 exploratory,组件加 hidden,表单加文件控件;agentlab.blueprint/1 与 bp_* 操作、agentlab.template/1 与关节类型的定义;实例化、试运行、发布单、个人应用、记录表、文件、白话层的接口签名;蓝图、模板、文件、个人应用、蓝图助手的路由桩(501);前端约定 typesBlueprint.ts、接口桩、新建应用与蓝图页的占位路由、termsBlueprint.ts
2026-10-15 09:49:45 +08:00

14 lines
387 B
Python
Raw Blame History

"""场景模板列表(docs/design/normal-user-apps.md §3.3):GET /api/templates。包 B1 实现。"""
from __future__ import annotations
from typing import Any
from fastapi import APIRouter, HTTPException
router = APIRouter(prefix="/api/templates", tags=["templates"])
@router.get("")
async def list_templates() -> dict[str, Any]:
raise HTTPException(501, "尚未实现")
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.26.2 Page: 884ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API