From 79afa037e2daf39dd1577ac9a9465115c146dac3 Mon Sep 17 00:00:00 2001 From: WangLeo <690854599@qq.com> Date: Fri, 12 Jun 2026 19:22:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20bug.txt/out.txt=EF=BC=8C=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=20.superpowers=20=E4=B8=8E=E8=BF=90=E7=BB=B4=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++++ bug.txt | 1 - out.txt | 65 ------------------------------------------------------ 3 files changed, 4 insertions(+), 66 deletions(-) delete mode 100644 bug.txt delete mode 100644 out.txt diff --git a/.gitignore b/.gitignore index 897d507..891e3e0 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,7 @@ dist-ssr *.sw? TEST/ docs/ +.superpowers/ +运维/ +bug.txt +out.txt diff --git a/bug.txt b/bug.txt deleted file mode 100644 index aa38a12..0000000 --- a/bug.txt +++ /dev/null @@ -1 +0,0 @@ -输入框是否可以以当前宽度为最小值,当参数的选择框挤压发送按钮时输入框可以变宽 \ No newline at end of file diff --git a/out.txt b/out.txt deleted file mode 100644 index 17c0420..0000000 --- a/out.txt +++ /dev/null @@ -1,65 +0,0 @@ - 接口文档 - - 根据平台编码获取可学官方模型 - - 请求 - - GET /suanli/v1/platforms/:code/models - - ┌──────┬────────┬──────┬─────────────────────────────────────────────────────┐ - │ 参数 │ 类型 │ 必填 │ 说明 │ - ├──────┼────────┼──────┼─────────────────────────────────────────────────────┤ - │ code │ string │ 是 │ 平台编码(platform_identifiers.code),URL 路径参数 │ - └──────┴────────┴──────┴─────────────────────────────────────────────────────┘ - - 请求头 - - Authorization: - - ▎ 无需 Bearer 前缀。 - - 响应 - - 成功 - - { - "code": 0, - "data": { - "platform": { - "id": "uuid", - "code": "openai", - "name": "OpenAI" - }, - "models": [ - { - "id": "uuid", - "name": "gpt-4", - "display_name": "GPT-4", - "category": "llm", - "billing_unit": "token", - "unit_price": 0.03, - "billing_mode": "post", - "plugin_code": null, - "endpoint": null, - "sort_order": 1, - "is_public": 1, - "owner_org_id": null - } - ] - } - } - - ┌───────────────┬──────────────────────────────────────────────────────────────────────────────────────────┐ - │ 字段 │ 说明 │ - ├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ - │ data.platform │ 平台信息 │ - ├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ - │ data.models │ 该平台下 owner_type=platform 且 status=active 的模型列表,按 sort_order、created_at 排序 │ - └───────────────┴──────────────────────────────────────────────────────────────────────────────────────────┘ - - 平台不存在或已禁用 - - { - "code": 1, - "message": "平台不存在或已禁用" - } \ No newline at end of file