mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
[codex-analytics] add queued submission metadata
This commit is contained in:
@@ -2473,6 +2473,13 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SubmissionType": {
|
||||
"enum": [
|
||||
"prompt",
|
||||
"prompt_queued"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"TextElement": {
|
||||
"properties": {
|
||||
"byteRange": {
|
||||
@@ -3241,6 +3248,17 @@
|
||||
],
|
||||
"description": "Override the service tier for this turn and subsequent turns."
|
||||
},
|
||||
"submissionType": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SubmissionType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Metadata describing how the prompt was submitted."
|
||||
},
|
||||
"summary": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
||||
@@ -12065,6 +12065,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"SubmissionType": {
|
||||
"enum": [
|
||||
"prompt",
|
||||
"prompt_queued"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"TerminalInteractionNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
@@ -14626,6 +14633,17 @@
|
||||
],
|
||||
"description": "Override the service tier for this turn and subsequent turns."
|
||||
},
|
||||
"submissionType": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/SubmissionType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Metadata describing how the prompt was submitted."
|
||||
},
|
||||
"summary": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
||||
@@ -9920,6 +9920,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"SubmissionType": {
|
||||
"enum": [
|
||||
"prompt",
|
||||
"prompt_queued"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"TerminalInteractionNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
@@ -12481,6 +12488,17 @@
|
||||
],
|
||||
"description": "Override the service tier for this turn and subsequent turns."
|
||||
},
|
||||
"submissionType": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SubmissionType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Metadata describing how the prompt was submitted."
|
||||
},
|
||||
"summary": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
||||
@@ -354,6 +354,13 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"SubmissionType": {
|
||||
"enum": [
|
||||
"prompt",
|
||||
"prompt_queued"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"TextElement": {
|
||||
"properties": {
|
||||
"byteRange": {
|
||||
@@ -595,6 +602,17 @@
|
||||
],
|
||||
"description": "Override the service tier for this turn and subsequent turns."
|
||||
},
|
||||
"submissionType": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SubmissionType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Metadata describing how the prompt was submitted."
|
||||
},
|
||||
"summary": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type SubmissionType = "prompt" | "prompt_queued";
|
||||
@@ -64,6 +64,7 @@ export type { ServiceTier } from "./ServiceTier";
|
||||
export type { SessionSource } from "./SessionSource";
|
||||
export type { Settings } from "./Settings";
|
||||
export type { SubAgentSource } from "./SubAgentSource";
|
||||
export type { SubmissionType } from "./SubmissionType";
|
||||
export type { ThreadId } from "./ThreadId";
|
||||
export type { Tool } from "./Tool";
|
||||
export type { Verbosity } from "./Verbosity";
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { Personality } from "../Personality";
|
||||
import type { ReasoningEffort } from "../ReasoningEffort";
|
||||
import type { ReasoningSummary } from "../ReasoningSummary";
|
||||
import type { ServiceTier } from "../ServiceTier";
|
||||
import type { SubmissionType } from "../SubmissionType";
|
||||
import type { JsonValue } from "../serde_json/JsonValue";
|
||||
import type { ApprovalsReviewer } from "./ApprovalsReviewer";
|
||||
import type { AskForApproval } from "./AskForApproval";
|
||||
@@ -45,6 +46,9 @@ personality?: Personality | null, /**
|
||||
* this turn.
|
||||
*/
|
||||
outputSchema?: JsonValue | null, /**
|
||||
* Metadata describing how the prompt was submitted.
|
||||
*/
|
||||
submissionType?: SubmissionType | null, /**
|
||||
* EXPERIMENTAL - Set a pre-set collaboration mode.
|
||||
* Takes precedence over model, reasoning_effort, and developer instructions if set.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user