docs: update require section

This commit is contained in:
hieu-jan 2023-11-23 11:26:31 +09:00
parent 62e8a8253d
commit 536df7de71
2 changed files with 2 additions and 7 deletions

View File

@ -189,7 +189,7 @@ paths:
summary: Create thread
description: Create a thread
requestBody:
required: true
required: false
content:
application/json:
schema:
@ -296,7 +296,7 @@ paths:
example: thread_abc123
description: The ID of the thread to be modified.
requestBody:
required: true
required: false
content:
application/json:
schema:
@ -307,8 +307,6 @@ paths:
description: "Set of messages to update in the thread."
items:
$ref: 'specs/threads.yaml#/components/schemas/ThreadMessageObject'
required:
- messages
responses:
"200":
description: Thread modified successfully

View File

@ -116,9 +116,6 @@ components:
items:
type: string
description: "Array of file IDs associated with the message, if any."
required:
- role
- content
ModifyThreadResponse:
type: object