diff --git a/api/swagger.yaml b/api/swagger.yaml index 3245f9f..e19f701 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -20,6 +20,8 @@ definitions: type: string prompt: type: string + temperature: + type: number updated_at: type: string user_id: @@ -297,6 +299,19 @@ definitions: prompt: maxLength: 512 type: string + temperature: + enum: + - 0.1 + - 0.2 + - 0.3 + - 0.4 + - 0.5 + - 0.6 + - 0.7 + - 0.8 + - 0.9 + - 1 + type: number required: - description - name @@ -336,6 +351,19 @@ definitions: prompt: maxLength: 512 type: string + temperature: + enum: + - 0.1 + - 0.2 + - 0.3 + - 0.4 + - 0.5 + - 0.6 + - 0.7 + - 0.8 + - 0.9 + - 1 + type: number type: object schema.ChatCreateRequest: properties: diff --git a/src/components/settings/AssistantSettings.vue b/src/components/settings/AssistantSettings.vue index 16134c6..ea9e652 100644 --- a/src/components/settings/AssistantSettings.vue +++ b/src/components/settings/AssistantSettings.vue @@ -109,6 +109,18 @@ 允许助理 API 读取记忆 + +