apex-dev 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/.config/amp/settings.json +3 -0
  2. package/.config/opencode/oh-my-opencode.json +58 -0
  3. package/.config/opencode/opencode.json +6 -0
  4. package/.local/share/amp/device-id.json +3 -0
  5. package/.local/share/amp/history.jsonl +33 -0
  6. package/.local/share/amp/session.json +6 -0
  7. package/.local/share/amp/threads/T-019c93b8-fce7-7083-aab9-d5f1c88a9545.json +2528 -0
  8. package/.local/share/amp/threads/T-019c93c8-4b7a-71df-94ac-867d8236a288.json +7 -0
  9. package/.local/share/amp/threads/T-019c93cd-5a7d-728e-8289-02e0ef4ca2ff.json +680 -0
  10. package/.local/share/amp/threads/T-019c93e7-83ca-7633-9eed-12bdcc118163.json +873 -0
  11. package/.local/share/amp/threads/T-019c93ea-ccd3-765a-88c9-42d7b631e977.json +620 -0
  12. package/.local/share/amp/threads/T-019c93ee-5977-71af-9ab7-c4611004b703.json +1000 -0
  13. package/.local/share/amp/threads/T-019c93f0-8328-71ed-a250-6da169cebfe1.json +829 -0
  14. package/.local/share/amp/threads/T-019c93f5-7bdd-703b-b2cd-0a04da64441a.json +459 -0
  15. package/.local/share/amp/threads/T-019c93f8-2b2e-733b-8249-9876546d9b5b.json +764 -0
  16. package/.local/share/amp/threads/T-019c93fd-fade-7195-a3b7-358f180d40b8.json +7 -0
  17. package/.local/share/amp/threads/T-019c93fe-2e56-705e-827e-eb99bd02e257.json +3593 -0
  18. package/.local/share/amp/threads/T-019c9408-6e64-77e1-9519-b913e3b24a03.json +1559 -0
  19. package/.local/share/amp/threads/T-019c9409-feeb-736d-b92c-4f7a263a643c.json +7 -0
  20. package/.local/share/amp/threads/T-019c940b-8d11-755b-b9e1-f923d8a5e6ba.json +7 -0
  21. package/.local/share/amp/threads/T-019c943a-6c5e-76a5-bf4e-170f7ad452ce.json +979 -0
  22. package/.local/share/amp/threads/T-019c94b2-1c8f-76d8-96d0-82449a028849.json +1584 -0
  23. package/.local/share/amp/threads/T-019c94b6-68f0-726e-92dd-90c5411ca28c.json +7 -0
  24. package/.local/share/amp/threads/T-019c94bf-a589-72a3-b3c2-a81359d9e0a6.json +7 -0
  25. package/.local/share/amp/threads/T-019c94e1-1bd9-70ab-b6f2-abd5cab4f4ce.json +1035 -0
  26. package/.local/share/amp/threads/T-019c94fd-cc4a-714b-896a-74f94020f6eb.json +1310 -0
  27. package/.local/share/amp/threads/T-019c9501-8976-7138-aca6-245a01a8fe9b.json +7 -0
  28. package/.local/share/amp/threads/T-019c9504-4b51-763e-8a9f-5d4cdfcf0cfa.json +496 -0
  29. package/.local/share/amp/threads/T-019c9506-4e3b-74fd-8eda-cedbf3793598.json +2679 -0
  30. package/.local/share/amp/threads/T-019c9508-178c-718c-88d2-caf816d64f65.json +965 -0
  31. package/.local/share/amp/threads/T-019c9509-2812-71fd-8fd2-923e29ad34fa.json +7 -0
  32. package/.local/share/kilo/kilo.db +0 -0
  33. package/.local/share/kilo/kilo.db-shm +0 -0
  34. package/.local/share/kilo/kilo.db-wal +0 -0
  35. package/.local/share/kilo/storage/migration +1 -0
  36. package/.local/share/kilo/storage/session_diff/ses_36bea4cb9ffe1b0j5HEL14KEaU.json +1 -0
  37. package/.local/share/kilo/storage/session_diff/ses_36beaa8f2ffeeZ3Y39SQ9UDWQQ.json +1 -0
  38. package/.local/share/kilo/telemetry-id +1 -0
  39. package/.local/share/opencode/auth.json +6 -0
  40. package/.local/share/opencode/opencode.db +0 -0
  41. package/.local/share/opencode/opencode.db-shm +0 -0
  42. package/.local/share/opencode/opencode.db-wal +0 -0
  43. package/.local/share/opencode/storage/agent-usage-reminder/ses_36bee9f1effeJbiHHLWLR6O3WJ.json +6 -0
  44. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c25e50affef2nhaXq9aSgKH3.json +6 -0
  45. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c260708ffel4wG4yhdo0knDD.json +6 -0
  46. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c261531ffeoVcvqXxry2bN9H.json +6 -0
  47. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c291bddffePWRiaFLLJAC1y7.json +6 -0
  48. package/.local/share/opencode/storage/migration +1 -0
  49. package/.local/share/opencode/storage/session_diff/ses_36bee9f1effeJbiHHLWLR6O3WJ.json +1 -0
  50. package/.local/share/opencode/storage/session_diff/ses_36c25e50affef2nhaXq9aSgKH3.json +1 -0
  51. package/.local/share/opencode/storage/session_diff/ses_36c260708ffel4wG4yhdo0knDD.json +1 -0
  52. package/.local/share/opencode/storage/session_diff/ses_36c261531ffeoVcvqXxry2bN9H.json +1 -0
  53. package/.local/share/opencode/storage/session_diff/ses_36c291bddffePWRiaFLLJAC1y7.json +1 -0
  54. package/.local/share/opencode/storage/session_diff/ses_36c2af1c5ffegxEaOZOGcVykyy.json +1 -0
  55. package/.local/share/opencode/storage/session_diff/ses_36c2be235ffeOa6x8UCk1HW4kU.json +1 -0
  56. package/.local/share/opencode/tool-output/tool_c93da840c0016GrdyAkOnHGezU +2330 -0
  57. package/.local/share/opencode/tool-output/tool_c9411e784001cRoQqwVDb1a6lY +1017 -0
  58. package/.replit +21 -0
  59. package/.upm/store.json +1 -0
  60. package/bun.lock +237 -0
  61. package/generated-icon.png +0 -0
  62. package/index.js +1587 -0
  63. package/package.json +24 -0
@@ -0,0 +1,1017 @@
1
+ Found 920 match(es) in 48 file(s)
2
+
3
+ /home/runner/workspace/index.js
4
+ 645: const reasoning = t.accent('⟡') + t.dim(' reasoning ') + t.green('ON');
5
+ 650: console.log(indent(`${logo} ${t.bar('│')} ${model} ${t.bar('│')} ${reasoning} ${t.bar('│')} ${branchLabel} ${t.bar('│')} ${status}`));
6
+ 704: console.log(indent(t.dim('┌─ ') + t.accent('reasoning') + t.dim(' ─'.repeat(20))));
7
+ 971: // 'thinking' — inside a <think> block, accumulating reasoning
8
+ 976: let reasoningText = ''; // collected reasoning (from tags or reasoning_content field)
9
+ 1016: // Handle reasoning_content field (some APIs send reasoning separately)
10
+ 1017: if (delta.reasoning_content) {
11
+ 1018: reasoningText += delta.reasoning_content;
12
+ 1033: reasoningText += contentAccum.slice(0, closeIdx);
13
+ 1036: // Display the reasoning block
14
+ 1038: const trimmed = reasoningText.trim();
15
+ 1063: reasoningText += contentAccum.slice(0, closeIdx);
16
+ 1067: const trimmed = reasoningText.trim();
17
+ 1095: // Unclosed think block — show what we have as reasoning
18
+ 1096: reasoningText += contentAccum;
19
+ 1098: const trimmed = reasoningText.trim();
20
+ 1103: // Show reasoning from reasoning_content field (if think tags weren't used)
21
+ 1104: if (reasoningText && !fullContent.includes('<think>')) {
22
+ 1106: showThinkingBlock([reasoningText.trim()]);
23
+ 1133: // Show intermediate reasoning that wasn't streamed (e.g. with tool calls)
24
+
25
+ /home/runner/workspace/node_modules/openai/CHANGELOG.md
26
+ 436: * **api:** add reasoning_text ([7ff6186](https://github.com/openai/openai-node/commit/7ff61860a14ae20d0734b4f592002dfe67330488))
27
+ 449: * **api:** type updates for conversations, reasoning_effort and results for evals ([f243f54](https://github.com/openai/openai-node/commit/f243f54072d00cb8d83b8c6093accaaabf34d4cf))
28
+ 956: * **api:** add image sizes, reasoning encryption ([0c25021](https://github.com/openai/openai-node/commit/0c2502187f8895f029277a7be9825862f458e9aa))
29
+ 1038: * **responses:** correct reasoning output type ([9cb9576](https://github.com/openai/openai-node/commit/9cb95763cab5678c5098b37ad0fe1ec83d2c1cb7))
30
+ 1242: * **api:** add image sizes, reasoning encryption ([9c2113a](https://github.com/openai/openai-node/commit/9c2113af7c7ea9a797a0e39d07d9ad8627c96acb))
31
+ 1497: * **responses:** correct reasoning output type ([2abef57](https://github.com/openai/openai-node/commit/2abef57d7645a96a4b9a6b91483861cd568d2d4d))
32
+ 1617: * **api:** add missing reasoning effort + model enums ([#1302](https://github.com/openai/openai-node/issues/1302)) ([14c55c3](https://github.com/openai/openai-node/commit/14c55c312e31f1ed46d02f39a99049f785504a53))
33
+
34
+ /home/runner/workspace/node_modules/highlight.js/lib/core.js
35
+ 1458: For the reasoning behind this please see:
36
+
37
+ /home/runner/workspace/node_modules/readline/test/fixtures/afile.txt
38
+ 77: [Omitted long matching line]
39
+ 101: I could not help laughing at the ease with which he explained his process of deduction. "When I hear you give your reasons," I remarked, "the thing always appears to me to be so ridiculously simple that I could easily do it myself, though at each successive instance of your reasoning I am baffled until you explain your process. And yet I believe that my eyes are as good as yours."
40
+ 279: "Your reasoning is certainly plausible."
41
+ 962: "By the same brilliant reasoning, every man's body is to be found in the neighbourhood of his wardrobe. And pray what did you hope to arrive at through this?"
42
+ 9719: reached by their own reasoning, repeated the argument he had already
43
+ 13303: of unreasoning, merry, childlike laughter.
44
+ 23396: Every Russian might have predicted it, not by reasoning but by the
45
+ 25627: unreasoning hurry and alarm overcame them. They all rushed forward
46
+ 31921: the Kaluga road. So it is impossible to understand by what reasoning
47
+ 33231: Natasha; he had sought it by reasoning--and all these quests and
48
+ 37033: to restrain her mother from unreasoning despair. For three weeks
49
+ 37206: Kutuzov felt and knew--not by reasoning or science but with the
50
+ 38409: and suddenly in his captivity he had learned not by words or reasoning
51
+
52
+ /home/runner/workspace/node_modules/@sourcegraph/amp/README.md
53
+ 14: - `deep`: deep reasoning with GPT-5.3 Codex for extended thinking on complex problems
54
+
55
+ /home/runner/workspace/node_modules/@sourcegraph/amp/dist/main.js
56
+ 86: [Omitted long matching line]
57
+ 795: [Omitted long matching line]
58
+ 808: [Omitted long matching line]
59
+ 817: [Omitted long matching line]
60
+ 819: [Omitted long matching line]
61
+ 822: [Omitted long matching line]
62
+ 900: [Omitted long matching line]
63
+ 913: [Omitted long matching line]
64
+ 915: [Omitted long matching line]
65
+ 917: [Omitted long matching line]
66
+ 1583: - Senior engineering advisor with GPT-5.2 reasoning model for reviews, architecture, deep debugging, and
67
+ 1587: - Prompt it with a precise problem description and attach necessary files or code. Ask for a concrete outcomes and request trade-off analysis. Use the reasoning power it has.
68
+ 1805: - Senior engineering advisor with GPT-5.2 reasoning model for reviews, architecture, deep debugging, and
69
+ 1809: - Prompt it with a precise problem description and attach necessary files or code. Ask for a concrete outcomes and request trade-off analysis. Use the reasoning power it has.
70
+ 2152: [Omitted long matching line]
71
+ 2206: [Omitted long matching line]
72
+ 3896: [Omitted long matching line]
73
+ 3898: [Omitted long matching line]
74
+ 3904: ${Z}`;return Q}function _34(J,Z){switch(J.status){case"in-progress":return{status:"in-progress",progress:J.turns.map((Q)=>({message:Q.message,reasoning:Q.reasoning,isThinking:Q.isThinking,tool_uses:[...Q.activeTools.values()]}))};case"done":return{status:"done",result:J.message,progress:J.turns.map((Q)=>({message:Q.message,reasoning:Q.reasoning,isThinking:!1,tool_uses:[...Q.activeTools.values()]})),"~debug":{...J["~debug"],reasoningEffort:Z}};case"error":return{status:"error",error:{message:J.message}};case"cancelled":return{status:"cancelled"}}}var S34=`You are the Oracle - an expert AI advisor with advanced reasoning capabilities.
75
+ 3914: - Answer deep technical questions with clear reasoning
76
+ 3941: - Use your reasoning to provide thoughtful, well-structured, and pragmatic advice.
77
+ 3948: [Omitted long matching line]
78
+ 3958: - Answering complex technical questions that require deep technical reasoning
79
+ 4080: [Omitted long matching line]
80
+ 4404: [Omitted long matching line]
81
+ 4843: [Omitted long matching line]
82
+ 5439: [Omitted long matching line]
83
+ 5473: [Omitted long matching line]
84
+ 5482: [Omitted long matching line]
85
+ 5523: [Omitted long matching line]
86
+ 5603: [Omitted long matching line]
87
+ 5880: [Omitted long matching line]
88
+
89
+ /home/runner/workspace/node_modules/openai/src/resources/completions.ts
90
+ 160: * Tokens generated by the model for reasoning.
91
+ 162: reasoning_tokens?: number;
92
+ 166: * not appear in the completion. However, like reasoning tokens, these tokens are
93
+ 304: * Not supported with latest reasoning models `o3` and `o4-mini`.
94
+
95
+ /home/runner/workspace/node_modules/openai/src/resources/batches.ts
96
+ 275: * The number of reasoning tokens.
97
+ 277: reasoning_tokens: number;
98
+
99
+ /home/runner/workspace/node_modules/openai/src/lib/responses/ResponseStream.ts
100
+ 227: if (type === 'message' && part.type !== 'reasoning_text') {
101
+ 229: } else if (type === 'reasoning' && part.type === 'reasoning_text') {
102
+ 264: case 'response.reasoning_text.delta': {
103
+ 269: if (output.type === 'reasoning') {
104
+ 274: if (content.type !== 'reasoning_text') {
105
+ 275: throw new OpenAIError(`expected content to be 'reasoning_text', got ${content.type}`);
106
+
107
+ /home/runner/workspace/node_modules/openai/src/resources/responses/responses.ts
108
+ 266: * Token accounting for the compaction pass, including cached, reasoning, and total
109
+ 780: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
110
+ 817: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
111
+ 819: reasoning?: Shared.Reasoning | null;
112
+ 1764: * The reasoning text from the model.
113
+ 1769: * The type of the reasoning text. Always `reasoning_text`.
114
+ 1771: type: 'reasoning_text';
115
+ 1816: * The reasoning text from the model.
116
+ 1821: * The type of the reasoning text. Always `reasoning_text`.
117
+ 1823: type: 'reasoning_text';
118
+ 1868: * The reasoning text from the model.
119
+ 1873: * The type of the reasoning text. Always `reasoning_text`.
120
+ 1875: type: 'reasoning_text';
121
+ 2926: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
122
+ 2927: * tokens in reasoning item outputs. This enables reasoning items to be used in
123
+ 2941: | 'reasoning.encrypted_content'
124
+ 5030: * A description of the chain of thought used by a reasoning model while generating
125
+ 5037: * The unique identifier of the reasoning content.
126
+ 5047: * The type of the object. Always `reasoning`.
127
+ 5049: type: 'reasoning';
128
+ 5057: * The encrypted content of the reasoning item - populated when a response is
129
+ 5058: * generated with `reasoning.encrypted_content` in the `include` parameter.
130
+ 5075: * A summary of the reasoning output from the model so far.
131
+ 5090: * The reasoning text from the model.
132
+ 5095: * The type of the reasoning text. Always `reasoning_text`.
133
+ 5097: type: 'reasoning_text';
134
+ 5102: * Emitted when a new reasoning summary part is added.
135
+ 5126: * The index of the summary part within the reasoning summary.
136
+ 5131: * The type of the event. Always `response.reasoning_summary_part.added`.
137
+ 5133: type: 'response.reasoning_summary_part.added';
138
+ 5154: * Emitted when a reasoning summary part is completed.
139
+ 5178: * The index of the summary part within the reasoning summary.
140
+ 5183: * The type of the event. Always `response.reasoning_summary_part.done`.
141
+ 5185: type: 'response.reasoning_summary_part.done';
142
+ 5206: * Emitted when a delta is added to a reasoning summary text.
143
+ 5230: * The index of the summary part within the reasoning summary.
144
+ 5235: * The type of the event. Always `response.reasoning_summary_text.delta`.
145
+ 5237: type: 'response.reasoning_summary_text.delta';
146
+ 5241: * Emitted when a reasoning summary text is completed.
147
+ 5260: * The index of the summary part within the reasoning summary.
148
+ 5265: * The full text of the completed reasoning summary.
149
+ 5270: * The type of the event. Always `response.reasoning_summary_text.done`.
150
+ 5272: type: 'response.reasoning_summary_text.done';
151
+ 5276: * Emitted when a delta is added to a reasoning text.
152
+ 5280: * The index of the reasoning content part this delta is associated with.
153
+ 5285: * The text delta that was added to the reasoning content.
154
+ 5290: * The ID of the item this reasoning text delta is associated with.
155
+ 5295: * The index of the output item this reasoning text delta is associated with.
156
+ 5305: * The type of the event. Always `response.reasoning_text.delta`.
157
+ 5307: type: 'response.reasoning_text.delta';
158
+ 5311: * Emitted when a reasoning text is completed.
159
+ 5315: * The index of the reasoning content part.
160
+ 5320: * The ID of the item this reasoning text is associated with.
161
+ 5325: * The index of the output item this reasoning text is associated with.
162
+ 5335: * The full text of the completed reasoning content.
163
+ 5340: * The type of the event. Always `response.reasoning_text.done`.
164
+ 5342: type: 'response.reasoning_text.done';
165
+ 5716: * The number of reasoning tokens.
166
+ 5718: reasoning_tokens: number;
167
+ 5836: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
168
+ 5837: * tokens in reasoning item outputs. This enables reasoning items to be used in
169
+ 5869: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
170
+ 5938: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
171
+ 5940: reasoning?: Shared.Reasoning | null;
172
+ 6823: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
173
+ 6824: * tokens in reasoning item outputs. This enables reasoning items to be used in
174
+ 6858: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
175
+ 6919: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
176
+ 6921: reasoning?: Shared.Reasoning | null;
177
+
178
+ /home/runner/workspace/node_modules/openai/src/resources/responses/input-tokens.ts
179
+ 81: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
180
+ 83: reasoning?: Shared.Reasoning | null;
181
+
182
+ /home/runner/workspace/node_modules/openai/src/resources/graders/grader-models.ts
183
+ 334: * Constrains effort on reasoning for
184
+ 335: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
185
+ 337: * Reducing reasoning effort can result in faster responses and fewer tokens used
186
+ 338: * on reasoning in a response.
187
+ 340: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
188
+ 341: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
189
+ 342: * calls are supported for all reasoning values in gpt-5.1.
190
+ 343: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
191
+ 345: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
192
+ 348: reasoning_effort?: Shared.ReasoningEffort | null;
193
+
194
+ /home/runner/workspace/node_modules/openai/src/resources/fine-tuning/methods.ts
195
+ 85: * Level of reasoning effort.
196
+ 87: reasoning_effort?: 'default' | 'low' | 'medium' | 'high';
197
+
198
+ /home/runner/workspace/node_modules/openai/src/resources/evals/runs/runs.ts
199
+ 291: * Constrains effort on reasoning for
200
+ 292: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
201
+ 294: * Reducing reasoning effort can result in faster responses and fewer tokens used
202
+ 295: * on reasoning in a response.
203
+ 297: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
204
+ 298: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
205
+ 299: * calls are supported for all reasoning values in gpt-5.1.
206
+ 300: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
207
+ 302: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
208
+ 305: reasoning_effort?: Shared.ReasoningEffort | null;
209
+ 600: * Constrains effort on reasoning for
210
+ 601: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
211
+ 603: * Reducing reasoning effort can result in faster responses and fewer tokens used
212
+ 604: * on reasoning in a response.
213
+ 606: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
214
+ 607: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
215
+ 608: * calls are supported for all reasoning values in gpt-5.1.
216
+ 609: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
217
+ 611: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
218
+ 614: reasoning_effort?: Shared.ReasoningEffort | null;
219
+ 753: * Constrains effort on reasoning for
220
+ 754: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
221
+ 756: * Reducing reasoning effort can result in faster responses and fewer tokens used
222
+ 757: * on reasoning in a response.
223
+ 759: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
224
+ 760: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
225
+ 761: * calls are supported for all reasoning values in gpt-5.1.
226
+ 762: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
227
+ 764: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
228
+ 767: reasoning_effort?: Shared.ReasoningEffort | null;
229
+ 1103: * Constrains effort on reasoning for
230
+ 1104: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
231
+ 1106: * Reducing reasoning effort can result in faster responses and fewer tokens used
232
+ 1107: * on reasoning in a response.
233
+ 1109: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
234
+ 1110: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
235
+ 1111: * calls are supported for all reasoning values in gpt-5.1.
236
+ 1112: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
237
+ 1114: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
238
+ 1117: reasoning_effort?: Shared.ReasoningEffort | null;
239
+ 1256: * Constrains effort on reasoning for
240
+ 1257: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
241
+ 1259: * Reducing reasoning effort can result in faster responses and fewer tokens used
242
+ 1260: * on reasoning in a response.
243
+ 1262: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
244
+ 1263: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
245
+ 1264: * calls are supported for all reasoning values in gpt-5.1.
246
+ 1265: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
247
+ 1267: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
248
+ 1270: reasoning_effort?: Shared.ReasoningEffort | null;
249
+ 1603: * Constrains effort on reasoning for
250
+ 1604: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
251
+ 1606: * Reducing reasoning effort can result in faster responses and fewer tokens used
252
+ 1607: * on reasoning in a response.
253
+ 1609: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
254
+ 1610: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
255
+ 1611: * calls are supported for all reasoning values in gpt-5.1.
256
+ 1612: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
257
+ 1614: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
258
+ 1617: reasoning_effort?: Shared.ReasoningEffort | null;
259
+ 1756: * Constrains effort on reasoning for
260
+ 1757: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
261
+ 1759: * Reducing reasoning effort can result in faster responses and fewer tokens used
262
+ 1760: * on reasoning in a response.
263
+ 1762: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
264
+ 1763: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
265
+ 1764: * calls are supported for all reasoning values in gpt-5.1.
266
+ 1765: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
267
+ 1767: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
268
+ 1770: reasoning_effort?: Shared.ReasoningEffort | null;
269
+ 2114: * Constrains effort on reasoning for
270
+ 2115: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
271
+ 2117: * Reducing reasoning effort can result in faster responses and fewer tokens used
272
+ 2118: * on reasoning in a response.
273
+ 2120: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
274
+ 2121: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
275
+ 2122: * calls are supported for all reasoning values in gpt-5.1.
276
+ 2123: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
277
+ 2125: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
278
+ 2128: reasoning_effort?: Shared.ReasoningEffort | null;
279
+ 2267: * Constrains effort on reasoning for
280
+ 2268: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
281
+ 2270: * Reducing reasoning effort can result in faster responses and fewer tokens used
282
+ 2271: * on reasoning in a response.
283
+ 2273: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
284
+ 2274: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
285
+ 2275: * calls are supported for all reasoning values in gpt-5.1.
286
+ 2276: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
287
+ 2278: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
288
+ 2281: reasoning_effort?: Shared.ReasoningEffort | null;
289
+ 2564: * Constrains effort on reasoning for
290
+ 2565: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
291
+ 2567: * Reducing reasoning effort can result in faster responses and fewer tokens used
292
+ 2568: * on reasoning in a response.
293
+ 2570: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
294
+ 2571: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
295
+ 2572: * calls are supported for all reasoning values in gpt-5.1.
296
+ 2573: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
297
+ 2575: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
298
+ 2578: reasoning_effort?: Shared.ReasoningEffort | null;
299
+ 2717: * Constrains effort on reasoning for
300
+ 2718: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
301
+ 2720: * Reducing reasoning effort can result in faster responses and fewer tokens used
302
+ 2721: * on reasoning in a response.
303
+ 2723: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
304
+ 2724: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
305
+ 2725: * calls are supported for all reasoning values in gpt-5.1.
306
+ 2726: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
307
+ 2728: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
308
+ 2731: reasoning_effort?: Shared.ReasoningEffort | null;
309
+
310
+ /home/runner/workspace/node_modules/openai/src/resources/shared.ts
311
+ 249: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
312
+ 253: * Constrains effort on reasoning for
313
+ 254: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
314
+ 256: * Reducing reasoning effort can result in faster responses and fewer tokens used
315
+ 257: * on reasoning in a response.
316
+ 259: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
317
+ 260: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
318
+ 261: * calls are supported for all reasoning values in gpt-5.1.
319
+ 262: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
320
+ 264: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
321
+ 272: * A summary of the reasoning performed by the model. This can be useful for
322
+ 273: * debugging and understanding the model's reasoning process. One of `auto`,
323
+ 279: * A summary of the reasoning performed by the model. This can be useful for
324
+ 280: * debugging and understanding the model's reasoning process. One of `auto`,
325
+ 283: * `concise` is supported for `computer-use-preview` models and all reasoning
326
+ 290: * Constrains effort on reasoning for
327
+ 291: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
328
+ 293: * Reducing reasoning effort can result in faster responses and fewer tokens used
329
+ 294: * on reasoning in a response.
330
+ 296: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
331
+ 297: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
332
+ 298: * calls are supported for all reasoning values in gpt-5.1.
333
+ 299: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
334
+ 301: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
335
+
336
+ /home/runner/workspace/node_modules/openai/src/resources/conversations/items.ts
337
+ 468: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
338
+ 469: * tokens in reasoning item outputs. This enables reasoning items to be used in
339
+
340
+ /home/runner/workspace/node_modules/openai/src/resources/conversations/conversations.ts
341
+ 172: * The reasoning text from the model.
342
+ 177: * The type of the reasoning text. Always `reasoning_text`.
343
+ 179: type: 'reasoning_text';
344
+ 188: * A summary of the reasoning output from the model so far.
345
+
346
+ /home/runner/workspace/node_modules/openai/resources/batches.d.ts
347
+ 210: * The number of reasoning tokens.
348
+ 212: reasoning_tokens: number;
349
+
350
+ /home/runner/workspace/node_modules/openai/resources/batches.d.mts
351
+ 210: * The number of reasoning tokens.
352
+ 212: reasoning_tokens: number;
353
+
354
+ /home/runner/workspace/node_modules/openai/src/resources/chat/completions/completions.ts
355
+ 40: * response, particularly for newer reasoning models. Parameters that are only
356
+ 41: * supported for reasoning models are noted below. For the current state of
357
+ 42: * unsupported parameters in reasoning models,
358
+ 43: * [refer to the reasoning guide](https://platform.openai.com/docs/guides/reasoning).
359
+ 1572: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
360
+ 1583: * [o-series models](https://platform.openai.com/docs/guides/reasoning).
361
+ 1654: * Constrains effort on reasoning for
362
+ 1655: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
363
+ 1657: * Reducing reasoning effort can result in faster responses and fewer tokens used
364
+ 1658: * on reasoning in a response.
365
+ 1660: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
366
+ 1661: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
367
+ 1662: * calls are supported for all reasoning values in gpt-5.1.
368
+ 1663: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
369
+ 1665: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
370
+ 1668: reasoning_effort?: Shared.ReasoningEffort | null;
371
+ 1727: * Not supported with latest reasoning models `o3` and `o4-mini`.
372
+
373
+ /home/runner/workspace/node_modules/openai/src/resources/beta/threads/runs/runs.ts
374
+ 728: * Body param: Constrains effort on reasoning for
375
+ 729: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
376
+ 731: * Reducing reasoning effort can result in faster responses and fewer tokens used
377
+ 732: * on reasoning in a response.
378
+ 734: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
379
+ 735: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
380
+ 736: * calls are supported for all reasoning values in gpt-5.1.
381
+ 737: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
382
+ 739: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
383
+ 742: reasoning_effort?: Shared.ReasoningEffort | null;
384
+
385
+ /home/runner/workspace/node_modules/openai/resources/completions.d.ts
386
+ 125: * Tokens generated by the model for reasoning.
387
+ 127: reasoning_tokens?: number;
388
+ 130: * not appear in the completion. However, like reasoning tokens, these tokens are
389
+ 255: * Not supported with latest reasoning models `o3` and `o4-mini`.
390
+
391
+ /home/runner/workspace/node_modules/openai/resources/completions.d.mts
392
+ 125: * Tokens generated by the model for reasoning.
393
+ 127: reasoning_tokens?: number;
394
+ 130: * not appear in the completion. However, like reasoning tokens, these tokens are
395
+ 255: * Not supported with latest reasoning models `o3` and `o4-mini`.
396
+
397
+ /home/runner/workspace/node_modules/openai/src/resources/beta/assistants.ts
398
+ 1136: * Constrains effort on reasoning for
399
+ 1137: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
400
+ 1139: * Reducing reasoning effort can result in faster responses and fewer tokens used
401
+ 1140: * on reasoning in a response.
402
+ 1142: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
403
+ 1143: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
404
+ 1144: * calls are supported for all reasoning values in gpt-5.1.
405
+ 1145: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
406
+ 1147: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
407
+ 1150: reasoning_effort?: Shared.ReasoningEffort | null;
408
+ 1397: * Constrains effort on reasoning for
409
+ 1398: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
410
+ 1400: * Reducing reasoning effort can result in faster responses and fewer tokens used
411
+ 1401: * on reasoning in a response.
412
+ 1403: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
413
+ 1404: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
414
+ 1405: * calls are supported for all reasoning values in gpt-5.1.
415
+ 1406: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
416
+ 1408: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
417
+ 1411: reasoning_effort?: Shared.ReasoningEffort | null;
418
+
419
+ /home/runner/workspace/node_modules/openai/resources/responses/responses.d.ts
420
+ 142: * Token accounting for the compaction pass, including cached, reasoning, and total
421
+ 576: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
422
+ 608: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
423
+ 610: reasoning?: Shared.Reasoning | null;
424
+ 1406: * The reasoning text from the model.
425
+ 1410: * The type of the reasoning text. Always `reasoning_text`.
426
+ 1412: type: 'reasoning_text';
427
+ 1450: * The reasoning text from the model.
428
+ 1454: * The type of the reasoning text. Always `reasoning_text`.
429
+ 1456: type: 'reasoning_text';
430
+ 1494: * The reasoning text from the model.
431
+ 1498: * The type of the reasoning text. Always `reasoning_text`.
432
+ 1500: type: 'reasoning_text';
433
+ 2375: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
434
+ 2376: * tokens in reasoning item outputs. This enables reasoning items to be used in
435
+ 2383: export type ResponseIncludable = 'file_search_call.results' | 'web_search_call.results' | 'web_search_call.action.sources' | 'message.input_image.image_url' | 'computer_call_output.output.image_url' | 'code_interpreter_call.outputs' | 'reasoning.encrypted_content' | 'message.output_text.logprobs';
436
+ 4088: * A description of the chain of thought used by a reasoning model while generating
437
+ 4095: * The unique identifier of the reasoning content.
438
+ 4103: * The type of the object. Always `reasoning`.
439
+ 4105: type: 'reasoning';
440
+ 4111: * The encrypted content of the reasoning item - populated when a response is
441
+ 4112: * generated with `reasoning.encrypted_content` in the `include` parameter.
442
+ 4127: * A summary of the reasoning output from the model so far.
443
+ 4140: * The reasoning text from the model.
444
+ 4144: * The type of the reasoning text. Always `reasoning_text`.
445
+ 4146: type: 'reasoning_text';
446
+ 4150: * Emitted when a new reasoning summary part is added.
447
+ 4170: * The index of the summary part within the reasoning summary.
448
+ 4174: * The type of the event. Always `response.reasoning_summary_part.added`.
449
+ 4176: type: 'response.reasoning_summary_part.added';
450
+ 4194: * Emitted when a reasoning summary part is completed.
451
+ 4214: * The index of the summary part within the reasoning summary.
452
+ 4218: * The type of the event. Always `response.reasoning_summary_part.done`.
453
+ 4220: type: 'response.reasoning_summary_part.done';
454
+ 4238: * Emitted when a delta is added to a reasoning summary text.
455
+ 4258: * The index of the summary part within the reasoning summary.
456
+ 4262: * The type of the event. Always `response.reasoning_summary_text.delta`.
457
+ 4264: type: 'response.reasoning_summary_text.delta';
458
+ 4267: * Emitted when a reasoning summary text is completed.
459
+ 4283: * The index of the summary part within the reasoning summary.
460
+ 4287: * The full text of the completed reasoning summary.
461
+ 4291: * The type of the event. Always `response.reasoning_summary_text.done`.
462
+ 4293: type: 'response.reasoning_summary_text.done';
463
+ 4296: * Emitted when a delta is added to a reasoning text.
464
+ 4300: * The index of the reasoning content part this delta is associated with.
465
+ 4304: * The text delta that was added to the reasoning content.
466
+ 4308: * The ID of the item this reasoning text delta is associated with.
467
+ 4312: * The index of the output item this reasoning text delta is associated with.
468
+ 4320: * The type of the event. Always `response.reasoning_text.delta`.
469
+ 4322: type: 'response.reasoning_text.delta';
470
+ 4325: * Emitted when a reasoning text is completed.
471
+ 4329: * The index of the reasoning content part.
472
+ 4333: * The ID of the item this reasoning text is associated with.
473
+ 4337: * The index of the output item this reasoning text is associated with.
474
+ 4345: * The full text of the completed reasoning content.
475
+ 4349: * The type of the event. Always `response.reasoning_text.done`.
476
+ 4351: type: 'response.reasoning_text.done';
477
+ 4625: * The number of reasoning tokens.
478
+ 4627: reasoning_tokens: number;
479
+ 4728: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
480
+ 4729: * tokens in reasoning item outputs. This enables reasoning items to be used in
481
+ 4758: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
482
+ 4818: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
483
+ 4820: reasoning?: Shared.Reasoning | null;
484
+ 5521: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
485
+ 5522: * tokens in reasoning item outputs. This enables reasoning items to be used in
486
+ 5553: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
487
+ 5606: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
488
+ 5608: reasoning?: Shared.Reasoning | null;
489
+
490
+ /home/runner/workspace/node_modules/openai/resources/responses/responses.d.mts
491
+ 142: * Token accounting for the compaction pass, including cached, reasoning, and total
492
+ 576: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
493
+ 608: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
494
+ 610: reasoning?: Shared.Reasoning | null;
495
+ 1406: * The reasoning text from the model.
496
+ 1410: * The type of the reasoning text. Always `reasoning_text`.
497
+ 1412: type: 'reasoning_text';
498
+ 1450: * The reasoning text from the model.
499
+ 1454: * The type of the reasoning text. Always `reasoning_text`.
500
+ 1456: type: 'reasoning_text';
501
+ 1494: * The reasoning text from the model.
502
+ 1498: * The type of the reasoning text. Always `reasoning_text`.
503
+ 1500: type: 'reasoning_text';
504
+ 2375: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
505
+ 2376: * tokens in reasoning item outputs. This enables reasoning items to be used in
506
+ 2383: export type ResponseIncludable = 'file_search_call.results' | 'web_search_call.results' | 'web_search_call.action.sources' | 'message.input_image.image_url' | 'computer_call_output.output.image_url' | 'code_interpreter_call.outputs' | 'reasoning.encrypted_content' | 'message.output_text.logprobs';
507
+ 4088: * A description of the chain of thought used by a reasoning model while generating
508
+ 4095: * The unique identifier of the reasoning content.
509
+ 4103: * The type of the object. Always `reasoning`.
510
+ 4105: type: 'reasoning';
511
+ 4111: * The encrypted content of the reasoning item - populated when a response is
512
+ 4112: * generated with `reasoning.encrypted_content` in the `include` parameter.
513
+ 4127: * A summary of the reasoning output from the model so far.
514
+ 4140: * The reasoning text from the model.
515
+ 4144: * The type of the reasoning text. Always `reasoning_text`.
516
+ 4146: type: 'reasoning_text';
517
+ 4150: * Emitted when a new reasoning summary part is added.
518
+ 4170: * The index of the summary part within the reasoning summary.
519
+ 4174: * The type of the event. Always `response.reasoning_summary_part.added`.
520
+ 4176: type: 'response.reasoning_summary_part.added';
521
+ 4194: * Emitted when a reasoning summary part is completed.
522
+ 4214: * The index of the summary part within the reasoning summary.
523
+ 4218: * The type of the event. Always `response.reasoning_summary_part.done`.
524
+ 4220: type: 'response.reasoning_summary_part.done';
525
+ 4238: * Emitted when a delta is added to a reasoning summary text.
526
+ 4258: * The index of the summary part within the reasoning summary.
527
+ 4262: * The type of the event. Always `response.reasoning_summary_text.delta`.
528
+ 4264: type: 'response.reasoning_summary_text.delta';
529
+ 4267: * Emitted when a reasoning summary text is completed.
530
+ 4283: * The index of the summary part within the reasoning summary.
531
+ 4287: * The full text of the completed reasoning summary.
532
+ 4291: * The type of the event. Always `response.reasoning_summary_text.done`.
533
+ 4293: type: 'response.reasoning_summary_text.done';
534
+ 4296: * Emitted when a delta is added to a reasoning text.
535
+ 4300: * The index of the reasoning content part this delta is associated with.
536
+ 4304: * The text delta that was added to the reasoning content.
537
+ 4308: * The ID of the item this reasoning text delta is associated with.
538
+ 4312: * The index of the output item this reasoning text delta is associated with.
539
+ 4320: * The type of the event. Always `response.reasoning_text.delta`.
540
+ 4322: type: 'response.reasoning_text.delta';
541
+ 4325: * Emitted when a reasoning text is completed.
542
+ 4329: * The index of the reasoning content part.
543
+ 4333: * The ID of the item this reasoning text is associated with.
544
+ 4337: * The index of the output item this reasoning text is associated with.
545
+ 4345: * The full text of the completed reasoning content.
546
+ 4349: * The type of the event. Always `response.reasoning_text.done`.
547
+ 4351: type: 'response.reasoning_text.done';
548
+ 4625: * The number of reasoning tokens.
549
+ 4627: reasoning_tokens: number;
550
+ 4728: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
551
+ 4729: * tokens in reasoning item outputs. This enables reasoning items to be used in
552
+ 4758: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
553
+ 4818: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
554
+ 4820: reasoning?: Shared.Reasoning | null;
555
+ 5521: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
556
+ 5522: * tokens in reasoning item outputs. This enables reasoning items to be used in
557
+ 5553: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
558
+ 5606: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
559
+ 5608: reasoning?: Shared.Reasoning | null;
560
+
561
+ /home/runner/workspace/node_modules/openai/resources/responses/input-tokens.d.ts
562
+ 64: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
563
+ 66: reasoning?: Shared.Reasoning | null;
564
+
565
+ /home/runner/workspace/node_modules/openai/resources/responses/input-tokens.d.mts
566
+ 64: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
567
+ 66: reasoning?: Shared.Reasoning | null;
568
+
569
+ /home/runner/workspace/node_modules/openai/resources/shared.d.ts
570
+ 141: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
571
+ 145: * Constrains effort on reasoning for
572
+ 146: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
573
+ 148: * Reducing reasoning effort can result in faster responses and fewer tokens used
574
+ 149: * on reasoning in a response.
575
+ 151: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
576
+ 152: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
577
+ 153: * calls are supported for all reasoning values in gpt-5.1.
578
+ 154: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
579
+ 156: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
580
+ 163: * A summary of the reasoning performed by the model. This can be useful for
581
+ 164: * debugging and understanding the model's reasoning process. One of `auto`,
582
+ 169: * A summary of the reasoning performed by the model. This can be useful for
583
+ 170: * debugging and understanding the model's reasoning process. One of `auto`,
584
+ 173: * `concise` is supported for `computer-use-preview` models and all reasoning
585
+ 179: * Constrains effort on reasoning for
586
+ 180: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
587
+ 182: * Reducing reasoning effort can result in faster responses and fewer tokens used
588
+ 183: * on reasoning in a response.
589
+ 185: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
590
+ 186: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
591
+ 187: * calls are supported for all reasoning values in gpt-5.1.
592
+ 188: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
593
+ 190: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
594
+
595
+ /home/runner/workspace/node_modules/openai/resources/shared.d.mts
596
+ 141: * [reasoning models](https://platform.openai.com/docs/guides/reasoning).
597
+ 145: * Constrains effort on reasoning for
598
+ 146: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
599
+ 148: * Reducing reasoning effort can result in faster responses and fewer tokens used
600
+ 149: * on reasoning in a response.
601
+ 151: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
602
+ 152: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
603
+ 153: * calls are supported for all reasoning values in gpt-5.1.
604
+ 154: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
605
+ 156: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
606
+ 163: * A summary of the reasoning performed by the model. This can be useful for
607
+ 164: * debugging and understanding the model's reasoning process. One of `auto`,
608
+ 169: * A summary of the reasoning performed by the model. This can be useful for
609
+ 170: * debugging and understanding the model's reasoning process. One of `auto`,
610
+ 173: * `concise` is supported for `computer-use-preview` models and all reasoning
611
+ 179: * Constrains effort on reasoning for
612
+ 180: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
613
+ 182: * Reducing reasoning effort can result in faster responses and fewer tokens used
614
+ 183: * on reasoning in a response.
615
+ 185: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
616
+ 186: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
617
+ 187: * calls are supported for all reasoning values in gpt-5.1.
618
+ 188: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
619
+ 190: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
620
+
621
+ /home/runner/workspace/node_modules/openai/resources/graders/grader-models.d.ts
622
+ 270: * Constrains effort on reasoning for
623
+ 271: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
624
+ 273: * Reducing reasoning effort can result in faster responses and fewer tokens used
625
+ 274: * on reasoning in a response.
626
+ 276: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
627
+ 277: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
628
+ 278: * calls are supported for all reasoning values in gpt-5.1.
629
+ 279: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
630
+ 281: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
631
+ 284: reasoning_effort?: Shared.ReasoningEffort | null;
632
+
633
+ /home/runner/workspace/node_modules/openai/resources/graders/grader-models.d.mts
634
+ 270: * Constrains effort on reasoning for
635
+ 271: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
636
+ 273: * Reducing reasoning effort can result in faster responses and fewer tokens used
637
+ 274: * on reasoning in a response.
638
+ 276: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
639
+ 277: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
640
+ 278: * calls are supported for all reasoning values in gpt-5.1.
641
+ 279: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
642
+ 281: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
643
+ 284: reasoning_effort?: Shared.ReasoningEffort | null;
644
+
645
+ /home/runner/workspace/node_modules/openai/resources/fine-tuning/methods.d.ts
646
+ 71: * Level of reasoning effort.
647
+ 73: reasoning_effort?: 'default' | 'low' | 'medium' | 'high';
648
+
649
+ /home/runner/workspace/node_modules/openai/lib/responses/ResponseStream.mjs
650
+ 134: if (type === 'message' && part.type !== 'reasoning_text') {
651
+ 137: else if (type === 'reasoning' && part.type === 'reasoning_text') {
652
+ 172: case 'response.reasoning_text.delta': {
653
+ 177: if (output.type === 'reasoning') {
654
+ 182: if (content.type !== 'reasoning_text') {
655
+ 183: throw new OpenAIError(`expected content to be 'reasoning_text', got ${content.type}`);
656
+
657
+ /home/runner/workspace/node_modules/openai/lib/responses/ResponseStream.js
658
+ 137: if (type === 'message' && part.type !== 'reasoning_text') {
659
+ 140: else if (type === 'reasoning' && part.type === 'reasoning_text') {
660
+ 175: case 'response.reasoning_text.delta': {
661
+ 180: if (output.type === 'reasoning') {
662
+ 185: if (content.type !== 'reasoning_text') {
663
+ 186: throw new error_1.OpenAIError(`expected content to be 'reasoning_text', got ${content.type}`);
664
+
665
+ /home/runner/workspace/node_modules/openai/resources/beta/threads/runs/runs.d.ts
666
+ 472: * Body param: Constrains effort on reasoning for
667
+ 473: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
668
+ 475: * Reducing reasoning effort can result in faster responses and fewer tokens used
669
+ 476: * on reasoning in a response.
670
+ 478: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
671
+ 479: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
672
+ 480: * calls are supported for all reasoning values in gpt-5.1.
673
+ 481: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
674
+ 483: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
675
+ 486: reasoning_effort?: Shared.ReasoningEffort | null;
676
+
677
+ /home/runner/workspace/node_modules/openai/resources/beta/threads/runs/runs.d.mts
678
+ 472: * Body param: Constrains effort on reasoning for
679
+ 473: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
680
+ 475: * Reducing reasoning effort can result in faster responses and fewer tokens used
681
+ 476: * on reasoning in a response.
682
+ 478: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
683
+ 479: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
684
+ 480: * calls are supported for all reasoning values in gpt-5.1.
685
+ 481: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
686
+ 483: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
687
+ 486: reasoning_effort?: Shared.ReasoningEffort | null;
688
+
689
+ /home/runner/workspace/node_modules/openai/resources/fine-tuning/methods.d.mts
690
+ 71: * Level of reasoning effort.
691
+ 73: reasoning_effort?: 'default' | 'low' | 'medium' | 'high';
692
+
693
+ /home/runner/workspace/node_modules/openai/resources/chat/completions/completions.d.ts
694
+ 34: * response, particularly for newer reasoning models. Parameters that are only
695
+ 35: * supported for reasoning models are noted below. For the current state of
696
+ 36: * unsupported parameters in reasoning models,
697
+ 37: * [refer to the reasoning guide](https://platform.openai.com/docs/guides/reasoning).
698
+ 1274: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
699
+ 1284: * [o-series models](https://platform.openai.com/docs/guides/reasoning).
700
+ 1346: * Constrains effort on reasoning for
701
+ 1347: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
702
+ 1349: * Reducing reasoning effort can result in faster responses and fewer tokens used
703
+ 1350: * on reasoning in a response.
704
+ 1352: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
705
+ 1353: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
706
+ 1354: * calls are supported for all reasoning values in gpt-5.1.
707
+ 1355: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
708
+ 1357: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
709
+ 1360: reasoning_effort?: Shared.ReasoningEffort | null;
710
+ 1411: * Not supported with latest reasoning models `o3` and `o4-mini`.
711
+
712
+ /home/runner/workspace/node_modules/openai/resources/chat/completions/completions.d.mts
713
+ 34: * response, particularly for newer reasoning models. Parameters that are only
714
+ 35: * supported for reasoning models are noted below. For the current state of
715
+ 36: * unsupported parameters in reasoning models,
716
+ 37: * [refer to the reasoning guide](https://platform.openai.com/docs/guides/reasoning).
717
+ 1274: * [reasoning tokens](https://platform.openai.com/docs/guides/reasoning).
718
+ 1284: * [o-series models](https://platform.openai.com/docs/guides/reasoning).
719
+ 1346: * Constrains effort on reasoning for
720
+ 1347: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
721
+ 1349: * Reducing reasoning effort can result in faster responses and fewer tokens used
722
+ 1350: * on reasoning in a response.
723
+ 1352: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
724
+ 1353: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
725
+ 1354: * calls are supported for all reasoning values in gpt-5.1.
726
+ 1355: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
727
+ 1357: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
728
+ 1360: reasoning_effort?: Shared.ReasoningEffort | null;
729
+ 1411: * Not supported with latest reasoning models `o3` and `o4-mini`.
730
+
731
+ /home/runner/workspace/node_modules/openai/resources/evals/runs/runs.d.ts
732
+ 212: * Constrains effort on reasoning for
733
+ 213: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
734
+ 215: * Reducing reasoning effort can result in faster responses and fewer tokens used
735
+ 216: * on reasoning in a response.
736
+ 218: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
737
+ 219: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
738
+ 220: * calls are supported for all reasoning values in gpt-5.1.
739
+ 221: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
740
+ 223: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
741
+ 226: reasoning_effort?: Shared.ReasoningEffort | null;
742
+ 476: * Constrains effort on reasoning for
743
+ 477: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
744
+ 479: * Reducing reasoning effort can result in faster responses and fewer tokens used
745
+ 480: * on reasoning in a response.
746
+ 482: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
747
+ 483: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
748
+ 484: * calls are supported for all reasoning values in gpt-5.1.
749
+ 485: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
750
+ 487: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
751
+ 490: reasoning_effort?: Shared.ReasoningEffort | null;
752
+ 603: * Constrains effort on reasoning for
753
+ 604: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
754
+ 606: * Reducing reasoning effort can result in faster responses and fewer tokens used
755
+ 607: * on reasoning in a response.
756
+ 609: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
757
+ 610: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
758
+ 611: * calls are supported for all reasoning values in gpt-5.1.
759
+ 612: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
760
+ 614: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
761
+ 617: reasoning_effort?: Shared.ReasoningEffort | null;
762
+ 903: * Constrains effort on reasoning for
763
+ 904: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
764
+ 906: * Reducing reasoning effort can result in faster responses and fewer tokens used
765
+ 907: * on reasoning in a response.
766
+ 909: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
767
+ 910: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
768
+ 911: * calls are supported for all reasoning values in gpt-5.1.
769
+ 912: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
770
+ 914: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
771
+ 917: reasoning_effort?: Shared.ReasoningEffort | null;
772
+ 1030: * Constrains effort on reasoning for
773
+ 1031: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
774
+ 1033: * Reducing reasoning effort can result in faster responses and fewer tokens used
775
+ 1034: * on reasoning in a response.
776
+ 1036: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
777
+ 1037: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
778
+ 1038: * calls are supported for all reasoning values in gpt-5.1.
779
+ 1039: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
780
+ 1041: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
781
+ 1044: reasoning_effort?: Shared.ReasoningEffort | null;
782
+ 1330: * Constrains effort on reasoning for
783
+ 1331: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
784
+ 1333: * Reducing reasoning effort can result in faster responses and fewer tokens used
785
+ 1334: * on reasoning in a response.
786
+ 1336: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
787
+ 1337: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
788
+ 1338: * calls are supported for all reasoning values in gpt-5.1.
789
+ 1339: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
790
+ 1341: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
791
+ 1344: reasoning_effort?: Shared.ReasoningEffort | null;
792
+ 1457: * Constrains effort on reasoning for
793
+ 1458: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
794
+ 1460: * Reducing reasoning effort can result in faster responses and fewer tokens used
795
+ 1461: * on reasoning in a response.
796
+ 1463: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
797
+ 1464: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
798
+ 1465: * calls are supported for all reasoning values in gpt-5.1.
799
+ 1466: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
800
+ 1468: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
801
+ 1471: reasoning_effort?: Shared.ReasoningEffort | null;
802
+ 1762: * Constrains effort on reasoning for
803
+ 1763: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
804
+ 1765: * Reducing reasoning effort can result in faster responses and fewer tokens used
805
+ 1766: * on reasoning in a response.
806
+ 1768: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
807
+ 1769: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
808
+ 1770: * calls are supported for all reasoning values in gpt-5.1.
809
+ 1771: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
810
+ 1773: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
811
+ 1776: reasoning_effort?: Shared.ReasoningEffort | null;
812
+ 1889: * Constrains effort on reasoning for
813
+ 1890: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
814
+ 1892: * Reducing reasoning effort can result in faster responses and fewer tokens used
815
+ 1893: * on reasoning in a response.
816
+ 1895: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
817
+ 1896: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
818
+ 1897: * calls are supported for all reasoning values in gpt-5.1.
819
+ 1898: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
820
+ 1900: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
821
+ 1903: reasoning_effort?: Shared.ReasoningEffort | null;
822
+ 2142: * Constrains effort on reasoning for
823
+ 2143: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
824
+ 2145: * Reducing reasoning effort can result in faster responses and fewer tokens used
825
+ 2146: * on reasoning in a response.
826
+ 2148: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
827
+ 2149: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
828
+ 2150: * calls are supported for all reasoning values in gpt-5.1.
829
+ 2151: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
830
+ 2153: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
831
+ 2156: reasoning_effort?: Shared.ReasoningEffort | null;
832
+ 2269: * Constrains effort on reasoning for
833
+ 2270: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
834
+ 2272: * Reducing reasoning effort can result in faster responses and fewer tokens used
835
+ 2273: * on reasoning in a response.
836
+ 2275: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
837
+ 2276: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
838
+ 2277: * calls are supported for all reasoning values in gpt-5.1.
839
+ 2278: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
840
+ 2280: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
841
+ 2283: reasoning_effort?: Shared.ReasoningEffort | null;
842
+
843
+ /home/runner/workspace/node_modules/openai/resources/evals/runs/runs.d.mts
844
+ 212: * Constrains effort on reasoning for
845
+ 213: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
846
+ 215: * Reducing reasoning effort can result in faster responses and fewer tokens used
847
+ 216: * on reasoning in a response.
848
+ 218: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
849
+ 219: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
850
+ 220: * calls are supported for all reasoning values in gpt-5.1.
851
+ 221: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
852
+ 223: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
853
+ 226: reasoning_effort?: Shared.ReasoningEffort | null;
854
+ 476: * Constrains effort on reasoning for
855
+ 477: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
856
+ 479: * Reducing reasoning effort can result in faster responses and fewer tokens used
857
+ 480: * on reasoning in a response.
858
+ 482: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
859
+ 483: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
860
+ 484: * calls are supported for all reasoning values in gpt-5.1.
861
+ 485: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
862
+ 487: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
863
+ 490: reasoning_effort?: Shared.ReasoningEffort | null;
864
+ 603: * Constrains effort on reasoning for
865
+ 604: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
866
+ 606: * Reducing reasoning effort can result in faster responses and fewer tokens used
867
+ 607: * on reasoning in a response.
868
+ 609: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
869
+ 610: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
870
+ 611: * calls are supported for all reasoning values in gpt-5.1.
871
+ 612: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
872
+ 614: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
873
+ 617: reasoning_effort?: Shared.ReasoningEffort | null;
874
+ 903: * Constrains effort on reasoning for
875
+ 904: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
876
+ 906: * Reducing reasoning effort can result in faster responses and fewer tokens used
877
+ 907: * on reasoning in a response.
878
+ 909: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
879
+ 910: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
880
+ 911: * calls are supported for all reasoning values in gpt-5.1.
881
+ 912: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
882
+ 914: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
883
+ 917: reasoning_effort?: Shared.ReasoningEffort | null;
884
+ 1030: * Constrains effort on reasoning for
885
+ 1031: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
886
+ 1033: * Reducing reasoning effort can result in faster responses and fewer tokens used
887
+ 1034: * on reasoning in a response.
888
+ 1036: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
889
+ 1037: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
890
+ 1038: * calls are supported for all reasoning values in gpt-5.1.
891
+ 1039: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
892
+ 1041: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
893
+ 1044: reasoning_effort?: Shared.ReasoningEffort | null;
894
+ 1330: * Constrains effort on reasoning for
895
+ 1331: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
896
+ 1333: * Reducing reasoning effort can result in faster responses and fewer tokens used
897
+ 1334: * on reasoning in a response.
898
+ 1336: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
899
+ 1337: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
900
+ 1338: * calls are supported for all reasoning values in gpt-5.1.
901
+ 1339: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
902
+ 1341: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
903
+ 1344: reasoning_effort?: Shared.ReasoningEffort | null;
904
+ 1457: * Constrains effort on reasoning for
905
+ 1458: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
906
+ 1460: * Reducing reasoning effort can result in faster responses and fewer tokens used
907
+ 1461: * on reasoning in a response.
908
+ 1463: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
909
+ 1464: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
910
+ 1465: * calls are supported for all reasoning values in gpt-5.1.
911
+ 1466: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
912
+ 1468: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
913
+ 1471: reasoning_effort?: Shared.ReasoningEffort | null;
914
+ 1762: * Constrains effort on reasoning for
915
+ 1763: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
916
+ 1765: * Reducing reasoning effort can result in faster responses and fewer tokens used
917
+ 1766: * on reasoning in a response.
918
+ 1768: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
919
+ 1769: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
920
+ 1770: * calls are supported for all reasoning values in gpt-5.1.
921
+ 1771: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
922
+ 1773: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
923
+ 1776: reasoning_effort?: Shared.ReasoningEffort | null;
924
+ 1889: * Constrains effort on reasoning for
925
+ 1890: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
926
+ 1892: * Reducing reasoning effort can result in faster responses and fewer tokens used
927
+ 1893: * on reasoning in a response.
928
+ 1895: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
929
+ 1896: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
930
+ 1897: * calls are supported for all reasoning values in gpt-5.1.
931
+ 1898: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
932
+ 1900: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
933
+ 1903: reasoning_effort?: Shared.ReasoningEffort | null;
934
+ 2142: * Constrains effort on reasoning for
935
+ 2143: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
936
+ 2145: * Reducing reasoning effort can result in faster responses and fewer tokens used
937
+ 2146: * on reasoning in a response.
938
+ 2148: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
939
+ 2149: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
940
+ 2150: * calls are supported for all reasoning values in gpt-5.1.
941
+ 2151: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
942
+ 2153: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
943
+ 2156: reasoning_effort?: Shared.ReasoningEffort | null;
944
+ 2269: * Constrains effort on reasoning for
945
+ 2270: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
946
+ 2272: * Reducing reasoning effort can result in faster responses and fewer tokens used
947
+ 2273: * on reasoning in a response.
948
+ 2275: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
949
+ 2276: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
950
+ 2277: * calls are supported for all reasoning values in gpt-5.1.
951
+ 2278: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
952
+ 2280: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
953
+ 2283: reasoning_effort?: Shared.ReasoningEffort | null;
954
+
955
+ /home/runner/workspace/node_modules/openai/resources/conversations/items.d.ts
956
+ 343: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
957
+ 344: * tokens in reasoning item outputs. This enables reasoning items to be used in
958
+
959
+ /home/runner/workspace/node_modules/openai/resources/conversations/items.d.mts
960
+ 343: * - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
961
+ 344: * tokens in reasoning item outputs. This enables reasoning items to be used in
962
+
963
+ /home/runner/workspace/node_modules/openai/resources/conversations/conversations.d.ts
964
+ 111: * The reasoning text from the model.
965
+ 115: * The type of the reasoning text. Always `reasoning_text`.
966
+ 117: type: 'reasoning_text';
967
+ 125: * A summary of the reasoning output from the model so far.
968
+
969
+ /home/runner/workspace/node_modules/openai/resources/conversations/conversations.d.mts
970
+ 111: * The reasoning text from the model.
971
+ 115: * The type of the reasoning text. Always `reasoning_text`.
972
+ 117: type: 'reasoning_text';
973
+ 125: * A summary of the reasoning output from the model so far.
974
+
975
+ /home/runner/workspace/node_modules/openai/resources/beta/assistants.d.ts
976
+ 913: * Constrains effort on reasoning for
977
+ 914: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
978
+ 916: * Reducing reasoning effort can result in faster responses and fewer tokens used
979
+ 917: * on reasoning in a response.
980
+ 919: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
981
+ 920: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
982
+ 921: * calls are supported for all reasoning values in gpt-5.1.
983
+ 922: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
984
+ 924: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
985
+ 927: reasoning_effort?: Shared.ReasoningEffort | null;
986
+ 1107: * Constrains effort on reasoning for
987
+ 1108: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
988
+ 1110: * Reducing reasoning effort can result in faster responses and fewer tokens used
989
+ 1111: * on reasoning in a response.
990
+ 1113: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
991
+ 1114: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
992
+ 1115: * calls are supported for all reasoning values in gpt-5.1.
993
+ 1116: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
994
+ 1118: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
995
+ 1121: reasoning_effort?: Shared.ReasoningEffort | null;
996
+
997
+ /home/runner/workspace/node_modules/openai/resources/beta/assistants.d.mts
998
+ 913: * Constrains effort on reasoning for
999
+ 914: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1000
+ 916: * Reducing reasoning effort can result in faster responses and fewer tokens used
1001
+ 917: * on reasoning in a response.
1002
+ 919: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
1003
+ 920: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
1004
+ 921: * calls are supported for all reasoning values in gpt-5.1.
1005
+ 922: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
1006
+ 924: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1007
+ 927: reasoning_effort?: Shared.ReasoningEffort | null;
1008
+ 1107: * Constrains effort on reasoning for
1009
+ 1108: * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1010
+ 1110: * Reducing reasoning effort can result in faster responses and fewer tokens used
1011
+ 1111: * on reasoning in a response.
1012
+ 1113: * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
1013
+ 1114: * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
1014
+ 1115: * calls are supported for all reasoning values in gpt-5.1.
1015
+ 1116: * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
1016
+ 1118: * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1017
+ 1121: reasoning_effort?: Shared.ReasoningEffort | null;