mirror of
https://github.com/openai/codex.git
synced 2026-05-23 20:44:50 +00:00
`#[serde(default)]` wasn't sufficient for our generated TS types to reflect that clients didn't have to set them. We also need `skip_serializing_if = "std::ops::Not::not"`. This is already a rule in our agents.md file.
17 lines
355 B
JSON
Generated
17 lines
355 B
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"includeTurns": {
|
|
"description": "When true, include turns and their items from rollout history.",
|
|
"type": "boolean"
|
|
},
|
|
"threadId": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"threadId"
|
|
],
|
|
"title": "ThreadReadParams",
|
|
"type": "object"
|
|
} |