docs: update require section
This commit is contained in:
parent
62e8a8253d
commit
536df7de71
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user