mirror of
https://github.com/openai/codex.git
synced 2026-11-09 20:50:33 +00:00
26 lines
1.0 KiB
JSON
Generated
26 lines
1.0 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Requests a best-effort predicted next prompt for one loaded thread.\n\nThis is an internal interactive-client helper. The request does not advance the thread or persist a new item; it asks the server to sample from the thread's current prompt-visible history.",
|
|
"properties": {
|
|
"cancel": {
|
|
"description": "When true, cancel the request identified by `cancellation_token` without sampling.\n\nThis requires `cancellation_token`.",
|
|
"type": "boolean"
|
|
},
|
|
"cancellationToken": {
|
|
"description": "Optional client token used to cancel an older in-flight suggestion request.\n\nReusing a token cancels the older request before this request samples.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"threadId": {
|
|
"description": "Thread whose current completed history should be used for prediction.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"threadId"
|
|
],
|
|
"title": "ThreadSuggestNextPromptParams",
|
|
"type": "object"
|
|
} |