改进 文档
All checks were successful
Build / build (push) Successful in 5m22s

This commit is contained in:
Twilight 2024-09-24 16:19:18 +08:00
parent ee3aff6e73
commit 1fef96bd41

View File

@ -20,6 +20,8 @@ definitions:
type: string
prompt:
type: string
public:
type: boolean
temperature:
type: number
updated_at:
@ -382,7 +384,6 @@ definitions:
assistant_id:
type: integer
message:
maxLength: 255
type: string
role:
enum:
@ -1124,6 +1125,33 @@ paths:
summary: 绑定 Tool
tags:
- assistant
/api/v1/assistants/public:
get:
consumes:
- application/json
produces:
- application/json
responses:
"200":
description: OK
schema:
allOf:
- $ref: '#/definitions/schema.ResponseBody'
- properties:
data:
items:
$ref: '#/definitions/entity.Assistant'
type: array
type: object
"400":
description: Bad Request
schema:
$ref: '#/definitions/schema.ResponseBody'
security:
- ApiKeyAuth: []
summary: 获取公开的助理列表
tags:
- assistant
/api/v1/chat_public:
get:
consumes: