@truefoundry/ai-gateway-sdk 0.1.11 → 0.1.12

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 (184) hide show
  1. package/dist/adapters/gemini/requestTransform.d.ts +20 -15
  2. package/dist/adapters/gemini/requestTransform.js +60 -34
  3. package/dist/adapters/gemini/requestTransform.js.map +1 -1
  4. package/dist/adapters/messages/encryptedReasoning.d.ts +16 -0
  5. package/dist/adapters/messages/encryptedReasoning.js +125 -0
  6. package/dist/adapters/messages/encryptedReasoning.js.map +1 -0
  7. package/dist/adapters/messages/requestTransform.js +94 -31
  8. package/dist/adapters/messages/requestTransform.js.map +1 -1
  9. package/dist/adapters/messages/responseTransform.js +5 -12
  10. package/dist/adapters/messages/responseTransform.js.map +1 -1
  11. package/dist/adapters/messages/streamTransform.d.ts +10 -3
  12. package/dist/adapters/messages/streamTransform.js +104 -67
  13. package/dist/adapters/messages/streamTransform.js.map +1 -1
  14. package/dist/adapters/responses/index.js +5 -0
  15. package/dist/adapters/responses/index.js.map +1 -1
  16. package/dist/adapters/responses/requestTransform.js +11 -0
  17. package/dist/adapters/responses/requestTransform.js.map +1 -1
  18. package/dist/adapters/responses/streamTransform.d.ts +6 -0
  19. package/dist/adapters/responses/streamTransform.js +94 -18
  20. package/dist/adapters/responses/streamTransform.js.map +1 -1
  21. package/dist/adapters/responses/toolMapping.d.ts +9 -1
  22. package/dist/adapters/responses/toolMapping.js +42 -4
  23. package/dist/adapters/responses/toolMapping.js.map +1 -1
  24. package/dist/autogen/decoders.d.ts +2 -1
  25. package/dist/autogen/decoders.js +11 -0
  26. package/dist/autogen/decoders.js.map +1 -1
  27. package/dist/autogen/meta.d.ts +2 -1
  28. package/dist/autogen/meta.js +1 -0
  29. package/dist/autogen/meta.js.map +1 -1
  30. package/dist/autogen/models.d.ts +31 -0
  31. package/dist/autogen/schema.json +22 -0
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.js +1 -1
  34. package/dist/index.js.map +1 -1
  35. package/dist/providers/anthropic/chatComplete.js +18 -7
  36. package/dist/providers/anthropic/chatComplete.js.map +1 -1
  37. package/dist/providers/anthropic/types.d.ts +2 -1
  38. package/dist/providers/anthropic/types.js +1 -0
  39. package/dist/providers/anthropic/types.js.map +1 -1
  40. package/dist/providers/anthropic-base/messages.d.ts +0 -5
  41. package/dist/providers/anthropic-base/messages.js +9 -0
  42. package/dist/providers/anthropic-base/messages.js.map +1 -1
  43. package/dist/providers/anthropic-base/utils/messagesTools.d.ts +9 -0
  44. package/dist/providers/anthropic-base/utils/messagesTools.js +18 -0
  45. package/dist/providers/anthropic-base/utils/messagesTools.js.map +1 -0
  46. package/dist/providers/azure-openai/api.js +37 -8
  47. package/dist/providers/azure-openai/api.js.map +1 -1
  48. package/dist/providers/azure-openai/chatComplete.js +2 -2
  49. package/dist/providers/azure-openai/chatComplete.js.map +1 -1
  50. package/dist/providers/azure-openai/createModelResponse.d.ts +2 -0
  51. package/dist/providers/azure-openai/createModelResponse.js +26 -0
  52. package/dist/providers/azure-openai/createModelResponse.js.map +1 -0
  53. package/dist/providers/azure-openai/index.js +3 -2
  54. package/dist/providers/azure-openai/index.js.map +1 -1
  55. package/dist/providers/bedrock/chatComplete.js +24 -5
  56. package/dist/providers/bedrock/chatComplete.js.map +1 -1
  57. package/dist/providers/bedrock/embed.js +38 -8
  58. package/dist/providers/bedrock/embed.js.map +1 -1
  59. package/dist/providers/bedrock/messages.js +6 -6
  60. package/dist/providers/bedrock/messages.js.map +1 -1
  61. package/dist/providers/bedrock/types.d.ts +2 -1
  62. package/dist/providers/bedrock/types.js +1 -0
  63. package/dist/providers/bedrock/types.js.map +1 -1
  64. package/dist/providers/bedrock/utils.js +1 -1
  65. package/dist/providers/bedrock/utils.js.map +1 -1
  66. package/dist/providers/cohere/chatComplete.js +16 -13
  67. package/dist/providers/cohere/chatComplete.js.map +1 -1
  68. package/dist/providers/cohere/types.d.ts +2 -0
  69. package/dist/providers/cohere/types.js.map +1 -1
  70. package/dist/providers/databricks/chatComplete.js +21 -0
  71. package/dist/providers/databricks/chatComplete.js.map +1 -1
  72. package/dist/providers/google/chatComplete.d.ts +10 -2
  73. package/dist/providers/google/chatComplete.js +58 -159
  74. package/dist/providers/google/chatComplete.js.map +1 -1
  75. package/dist/providers/google/imageGenerate.js +2 -4
  76. package/dist/providers/google/imageGenerate.js.map +1 -1
  77. package/dist/providers/google/rejectedThoughtSignatureRetry.d.ts +17 -0
  78. package/dist/providers/google/rejectedThoughtSignatureRetry.js +53 -0
  79. package/dist/providers/google/rejectedThoughtSignatureRetry.js.map +1 -0
  80. package/dist/providers/google/types.d.ts +5 -0
  81. package/dist/providers/google/types.js.map +1 -1
  82. package/dist/providers/google-vertex-ai/api.d.ts +4 -0
  83. package/dist/providers/google-vertex-ai/api.js +100 -7
  84. package/dist/providers/google-vertex-ai/api.js.map +1 -1
  85. package/dist/providers/google-vertex-ai/chatComplete.js +54 -168
  86. package/dist/providers/google-vertex-ai/chatComplete.js.map +1 -1
  87. package/dist/providers/google-vertex-ai/createSpeech.js +5 -5
  88. package/dist/providers/google-vertex-ai/createSpeech.js.map +1 -1
  89. package/dist/providers/google-vertex-ai/getBatchOutput.js +7 -2
  90. package/dist/providers/google-vertex-ai/getBatchOutput.js.map +1 -1
  91. package/dist/providers/google-vertex-ai/imageEdit.js +2 -10
  92. package/dist/providers/google-vertex-ai/imageEdit.js.map +1 -1
  93. package/dist/providers/google-vertex-ai/imageGenerate.d.ts +12 -3
  94. package/dist/providers/google-vertex-ai/imageGenerate.js +96 -20
  95. package/dist/providers/google-vertex-ai/imageGenerate.js.map +1 -1
  96. package/dist/providers/google-vertex-ai/messages.js +5 -0
  97. package/dist/providers/google-vertex-ai/messages.js.map +1 -1
  98. package/dist/providers/google-vertex-ai/uploadFile.js +2 -1
  99. package/dist/providers/google-vertex-ai/uploadFile.js.map +1 -1
  100. package/dist/providers/google-vertex-ai/utils.d.ts +30 -4
  101. package/dist/providers/google-vertex-ai/utils.js +155 -2
  102. package/dist/providers/google-vertex-ai/utils.js.map +1 -1
  103. package/dist/providers/groq/chatComplete.d.ts +2 -1
  104. package/dist/providers/groq/chatComplete.js +23 -0
  105. package/dist/providers/groq/chatComplete.js.map +1 -1
  106. package/dist/providers/groq/index.js +3 -8
  107. package/dist/providers/groq/index.js.map +1 -1
  108. package/dist/providers/microsoft-foundry/index.js +3 -2
  109. package/dist/providers/microsoft-foundry/index.js.map +1 -1
  110. package/dist/providers/ollama/api.js +1 -1
  111. package/dist/providers/ollama/api.js.map +1 -1
  112. package/dist/providers/open-ai-base/chatCompleteViaResponses/eligibility.d.ts +5 -2
  113. package/dist/providers/open-ai-base/chatCompleteViaResponses/eligibility.js +8 -3
  114. package/dist/providers/open-ai-base/chatCompleteViaResponses/eligibility.js.map +1 -1
  115. package/dist/providers/open-ai-base/chatCompleteViaResponses/requestTransform.d.ts +1 -0
  116. package/dist/providers/open-ai-base/chatCompleteViaResponses/requestTransform.js +19 -2
  117. package/dist/providers/open-ai-base/chatCompleteViaResponses/requestTransform.js.map +1 -1
  118. package/dist/providers/open-ai-base/chatCompleteViaResponses/streamTransform.d.ts +2 -0
  119. package/dist/providers/open-ai-base/chatCompleteViaResponses/streamTransform.js +53 -10
  120. package/dist/providers/open-ai-base/chatCompleteViaResponses/streamTransform.js.map +1 -1
  121. package/dist/providers/openai/chatComplete.js +2 -2
  122. package/dist/providers/openai/chatComplete.js.map +1 -1
  123. package/dist/providers/openai/chatgptCodex.d.ts +12 -0
  124. package/dist/providers/openai/chatgptCodex.js +34 -0
  125. package/dist/providers/openai/chatgptCodex.js.map +1 -0
  126. package/dist/providers/openai/index.js +6 -1
  127. package/dist/providers/openai/index.js.map +1 -1
  128. package/dist/providers/openai/utils.d.ts +3 -0
  129. package/dist/providers/openai/utils.js +22 -0
  130. package/dist/providers/openai/utils.js.map +1 -1
  131. package/dist/providers/openrouter/chatComplete.d.ts +10 -8
  132. package/dist/providers/openrouter/chatComplete.js +70 -33
  133. package/dist/providers/openrouter/chatComplete.js.map +1 -1
  134. package/dist/providers/shared/responseFormatUtils.d.ts +11 -0
  135. package/dist/providers/shared/responseFormatUtils.js +100 -1
  136. package/dist/providers/shared/responseFormatUtils.js.map +1 -1
  137. package/dist/providers/types.d.ts +2 -0
  138. package/dist/providers/types.js.map +1 -1
  139. package/dist/providers/utils/emptyTextContent.d.ts +2 -0
  140. package/dist/providers/utils/emptyTextContent.js +3 -0
  141. package/dist/providers/utils/emptyTextContent.js.map +1 -0
  142. package/dist/providers/utils/finishReasonMap.js +4 -1
  143. package/dist/providers/utils/finishReasonMap.js.map +1 -1
  144. package/dist/providers/utils/serviceTierUtils.js +1 -1
  145. package/dist/providers/utils/serviceTierUtils.js.map +1 -1
  146. package/dist/services/buildExecutionReport.js +4 -2
  147. package/dist/services/buildExecutionReport.js.map +1 -1
  148. package/dist/services/createProviderRequest.js +6 -1
  149. package/dist/services/createProviderRequest.js.map +1 -1
  150. package/dist/services/execute.js +19 -2
  151. package/dist/services/execute.js.map +1 -1
  152. package/dist/services/handleProviderResponse.js +10 -1
  153. package/dist/services/handleProviderResponse.js.map +1 -1
  154. package/dist/services/transformToProviderRequest.d.ts +5 -0
  155. package/dist/services/transformToProviderRequest.js +37 -3
  156. package/dist/services/transformToProviderRequest.js.map +1 -1
  157. package/dist/tfy-providers/custom/index.js +2 -2
  158. package/dist/tfy-providers/custom/index.js.map +1 -1
  159. package/dist/tfy-providers/custom/vllm-openai/chatComplete.d.ts +2 -0
  160. package/dist/tfy-providers/custom/vllm-openai/chatComplete.js +9 -0
  161. package/dist/tfy-providers/custom/vllm-openai/chatComplete.js.map +1 -1
  162. package/dist/types/messagesResponse.d.ts +2 -1
  163. package/dist/types/messagesResponse.js +1 -0
  164. package/dist/types/messagesResponse.js.map +1 -1
  165. package/dist/types/requestBody.d.ts +3 -0
  166. package/dist/utils/billedUsage/index.d.ts +1 -1
  167. package/dist/utils/billedUsage/index.js +1 -1
  168. package/dist/utils/billedUsage/index.js.map +1 -1
  169. package/dist/utils/billedUsage/video.d.ts +8 -0
  170. package/dist/utils/billedUsage/video.js +40 -8
  171. package/dist/utils/billedUsage/video.js.map +1 -1
  172. package/dist/utils/errorHandlingUtils.d.ts +2 -0
  173. package/dist/utils/errorHandlingUtils.js +8 -0
  174. package/dist/utils/errorHandlingUtils.js.map +1 -1
  175. package/dist/utils/modelParamUtils.d.ts +7 -1
  176. package/dist/utils/modelParamUtils.js +41 -2
  177. package/dist/utils/modelParamUtils.js.map +1 -1
  178. package/dist/utils/providerConfigTransform.d.ts +1 -1
  179. package/dist/utils/providerConfigTransform.js +6 -3
  180. package/dist/utils/providerConfigTransform.js.map +1 -1
  181. package/dist/utils/sseUtils.d.ts +2 -0
  182. package/dist/utils/sseUtils.js +1 -1
  183. package/dist/utils/sseUtils.js.map +1 -1
  184. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  import crypto from 'crypto';
7
7
  import { parseSseDataJson } from '../../utils/sseUtils.js';
8
8
  import { SSE_DONE } from '../constants.js';
9
- import { createFreeformInputDecoder, isTruncatedCustomCall } from './freeformInputDecoder.js';
9
+ import { createFreeformInputDecoder, isTruncatedCustomCall, isTruncatedFinishReason, } from './freeformInputDecoder.js';
10
10
  import { RESPONSE_DEFAULTS } from './responseTransform.js';
11
11
  import { buildResponsesToolMapping, echoResponsesTools } from './toolMapping.js';
12
12
  export function createResponsesStreamState(originalRequest) {
@@ -26,6 +26,10 @@ export function createResponsesStreamState(originalRequest) {
26
26
  createdAt: 0,
27
27
  hasEmittedText: false,
28
28
  sentTextBlockStart: false,
29
+ reasoningItemId: '',
30
+ accumulatedReasoning: '',
31
+ sentReasoningBlockStart: false,
32
+ reasoningClosed: false,
29
33
  toolCallInfo: new Map(),
30
34
  toolCallArguments: new Map(),
31
35
  originalRequest: originalRequest || {},
@@ -64,16 +68,82 @@ function customInputDeltaEvent(state, info, outputIndex, delta) {
64
68
  delta,
65
69
  })}\n\n`;
66
70
  }
71
+ /** Serializes one Responses SSE event and advances the sequence number. */
72
+ function sseEvent(state, type, data) {
73
+ return `event: ${type}\ndata: ${JSON.stringify({ type, sequence_number: state.sequenceNumber++, ...data })}\n\n`;
74
+ }
75
+ /** The reasoning output item as streamed so far; also used in `output_item.done` and the final snapshot. */
76
+ function reasoningItem(state) {
77
+ return {
78
+ id: state.reasoningItemId,
79
+ type: 'reasoning',
80
+ summary: [{ type: 'summary_text', text: state.accumulatedReasoning }],
81
+ };
82
+ }
83
+ /** Reasoning, when present, takes output_index 0, so the message moves to 1. */
84
+ function messageOutputIndex(state) {
85
+ return state.sentReasoningBlockStart ? 1 : 0;
86
+ }
87
+ /** Tool calls follow whichever reasoning and message items were emitted. */
88
+ function toolOutputOffset(state) {
89
+ return messageOutputIndex(state) + (state.sentTextBlockStart ? 1 : 0);
90
+ }
91
+ /** Opens the reasoning item on first use, then streams the delta; ignored once reasoning is closed. */
92
+ function appendReasoningDelta(state, events, text) {
93
+ if (state.reasoningClosed)
94
+ return;
95
+ if (!state.sentReasoningBlockStart) {
96
+ state.sentReasoningBlockStart = true;
97
+ state.reasoningItemId = `rs_${crypto.randomUUID()}`;
98
+ events.push(sseEvent(state, 'response.output_item.added', {
99
+ output_index: 0,
100
+ item: { id: state.reasoningItemId, type: 'reasoning', summary: [] },
101
+ }), sseEvent(state, 'response.reasoning_summary_part.added', {
102
+ item_id: state.reasoningItemId,
103
+ output_index: 0,
104
+ summary_index: 0,
105
+ part: { type: 'summary_text', text: '' },
106
+ }));
107
+ }
108
+ state.accumulatedReasoning += text;
109
+ events.push(sseEvent(state, 'response.reasoning_summary_text.delta', {
110
+ item_id: state.reasoningItemId,
111
+ output_index: 0,
112
+ summary_index: 0,
113
+ delta: text,
114
+ }));
115
+ }
116
+ /** Emits the reasoning `.done` events exactly once, before the message or a tool call takes the next index. */
117
+ function closeReasoning(state, events) {
118
+ if (state.reasoningClosed)
119
+ return;
120
+ state.reasoningClosed = true;
121
+ if (!state.sentReasoningBlockStart)
122
+ return;
123
+ events.push(sseEvent(state, 'response.reasoning_summary_text.done', {
124
+ item_id: state.reasoningItemId,
125
+ output_index: 0,
126
+ summary_index: 0,
127
+ text: state.accumulatedReasoning,
128
+ }), sseEvent(state, 'response.reasoning_summary_part.done', {
129
+ item_id: state.reasoningItemId,
130
+ output_index: 0,
131
+ summary_index: 0,
132
+ part: { type: 'summary_text', text: state.accumulatedReasoning },
133
+ }), sseEvent(state, 'response.output_item.done', { output_index: 0, item: reasoningItem(state) }));
134
+ }
67
135
  function buildResponseSnapshot(state, status, includeOutput = false, finalText) {
68
136
  const output = [];
69
137
  if (includeOutput) {
70
138
  const itemStatus = status === 'in_progress' ? 'in_progress' : 'completed';
71
- if (state.hasEmittedText || state.toolCallInfo.size === 0) {
139
+ if (state.sentReasoningBlockStart)
140
+ output.push(reasoningItem(state));
141
+ if (state.hasEmittedText || (state.toolCallInfo.size === 0 && !state.sentReasoningBlockStart)) {
72
142
  output.push({
73
143
  id: state.outputItemId,
74
144
  type: 'message',
75
145
  role: 'assistant',
76
- status: itemStatus,
146
+ status,
77
147
  content: [
78
148
  {
79
149
  type: 'output_text',
@@ -140,21 +210,23 @@ export function transformResponsesStreamChunk(chunk, state) {
140
210
  if (trimmed === SSE_DONE && state.hasStarted && !state.completed) {
141
211
  state.completed = true;
142
212
  const finalText = state.accumulatedText;
213
+ const truncated = isTruncatedFinishReason(state.finishReason);
143
214
  const completionEvents = [];
144
- // Finalize text content first (output_index 0) before tool calls (1+)
215
+ closeReasoning(state, completionEvents);
216
+ // Finalize text content before tool calls
145
217
  if (state.hasEmittedText) {
146
218
  completionEvents.push(`event: response.output_text.done\ndata: ${JSON.stringify({
147
219
  type: 'response.output_text.done',
148
220
  sequence_number: state.sequenceNumber++,
149
221
  item_id: state.outputItemId,
150
- output_index: 0,
222
+ output_index: messageOutputIndex(state),
151
223
  content_index: state.contentPartIndex,
152
224
  text: finalText,
153
225
  })}\n\n`, `event: response.content_part.done\ndata: ${JSON.stringify({
154
226
  type: 'response.content_part.done',
155
227
  sequence_number: state.sequenceNumber++,
156
228
  item_id: state.outputItemId,
157
- output_index: 0,
229
+ output_index: messageOutputIndex(state),
158
230
  content_index: state.contentPartIndex,
159
231
  part: {
160
232
  type: 'output_text',
@@ -164,12 +236,12 @@ export function transformResponsesStreamChunk(chunk, state) {
164
236
  })}\n\n`, `event: response.output_item.done\ndata: ${JSON.stringify({
165
237
  type: 'response.output_item.done',
166
238
  sequence_number: state.sequenceNumber++,
167
- output_index: 0,
239
+ output_index: messageOutputIndex(state),
168
240
  item: {
169
241
  id: state.outputItemId,
170
242
  type: 'message',
171
243
  role: 'assistant',
172
- status: 'completed',
244
+ status: truncated ? 'incomplete' : 'completed',
173
245
  content: [
174
246
  {
175
247
  type: 'output_text',
@@ -181,7 +253,7 @@ export function transformResponsesStreamChunk(chunk, state) {
181
253
  })}\n\n`);
182
254
  }
183
255
  // Finalize tool calls — offset matches what was used during streaming
184
- const finalOffset = state.sentTextBlockStart ? 1 : 0;
256
+ const finalOffset = toolOutputOffset(state);
185
257
  for (const [tcIndex, info] of state.toolCallInfo) {
186
258
  const accArgs = state.toolCallArguments.get(tcIndex) || '';
187
259
  const outputIdx = tcIndex + finalOffset;
@@ -230,9 +302,8 @@ export function transformResponsesStreamChunk(chunk, state) {
230
302
  },
231
303
  })}\n\n`);
232
304
  }
233
- // A truncated custom tool call ends the response as incomplete, which the client treats as an
234
- // error rather than a finished turn.
235
- const truncated = [...state.toolCallInfo.values()].some(info => info.incomplete);
305
+ // Output cut off by the token limit ends the response as incomplete, so the client does not
306
+ // take a partial answer or a truncated custom tool call for a finished turn.
236
307
  const finalType = truncated ? 'response.incomplete' : 'response.completed';
237
308
  completionEvents.push(`event: ${finalType}\ndata: ${JSON.stringify({
238
309
  type: finalType,
@@ -266,14 +337,19 @@ export function transformResponsesStreamChunk(chunk, state) {
266
337
  })}\n\n`);
267
338
  }
268
339
  const delta = parsed.choices?.[0]?.delta;
340
+ // Reasoning precedes answer text within a chunk, so its item closes before the message opens
341
+ if (delta?.reasoning_content) {
342
+ appendReasoningDelta(state, events, delta.reasoning_content);
343
+ }
269
344
  // Content delta — lazily open the text message block on first text
270
345
  if (delta?.content) {
271
346
  if (!state.sentTextBlockStart) {
347
+ closeReasoning(state, events);
272
348
  state.sentTextBlockStart = true;
273
349
  events.push(`event: response.output_item.added\ndata: ${JSON.stringify({
274
350
  type: 'response.output_item.added',
275
351
  sequence_number: state.sequenceNumber++,
276
- output_index: 0,
352
+ output_index: messageOutputIndex(state),
277
353
  item: {
278
354
  id: state.outputItemId,
279
355
  type: 'message',
@@ -285,7 +361,7 @@ export function transformResponsesStreamChunk(chunk, state) {
285
361
  type: 'response.content_part.added',
286
362
  sequence_number: state.sequenceNumber++,
287
363
  item_id: state.outputItemId,
288
- output_index: 0,
364
+ output_index: messageOutputIndex(state),
289
365
  content_index: 0,
290
366
  part: { type: 'output_text', text: '', annotations: [], logprobs: [] },
291
367
  })}\n\n`);
@@ -296,18 +372,18 @@ export function transformResponsesStreamChunk(chunk, state) {
296
372
  type: 'response.output_text.delta',
297
373
  sequence_number: state.sequenceNumber++,
298
374
  item_id: state.outputItemId,
299
- output_index: 0,
375
+ output_index: messageOutputIndex(state),
300
376
  content_index: 0,
301
377
  delta: delta.content,
302
378
  })}\n\n`);
303
379
  }
304
- // Tool calls — offset by 1 only when a text message block was emitted at index 0
380
+ // Tool calls — offset by the reasoning and text items emitted ahead of them
305
381
  if (delta?.tool_calls) {
306
382
  for (const tc of delta.tool_calls) {
307
383
  const tcIndex = tc.index ?? 0;
308
- const offset = state.sentTextBlockStart ? 1 : 0;
309
- const outputIdx = tcIndex + offset;
384
+ const outputIdx = tcIndex + toolOutputOffset(state);
310
385
  if (tc.function?.name) {
386
+ closeReasoning(state, events);
311
387
  const origin = state.toolMapping.originOf(tc.function.name);
312
388
  const isCustom = origin?.kind === 'custom';
313
389
  const itemId = `${isCustom ? 'ctc' : 'fc'}_${crypto.randomUUID()}`;
@@ -1 +1 @@
1
- {"version":3,"file":"streamTransform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ACzD,KAAK,CAAC,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,YAAY,IAAI,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC;QACvC,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;IACvD,CAAC;IAED,OAAO,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACzD,CAAC"}
1
+ {"version":3,"file":"streamTransform.js","sourceRoot":"","sources":["../../../src/adapters/responses/streamTransform.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EACL,0BAA0B,EAE1B,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,kBAAkB,EAAwB,MAAM,eAAe,CAAC;AAmDpG,MAAM,UAAU,0BAA0B,CAAC,eAAqC;IAC9E,OAAO;QACL,UAAU,EAAE,EAAE;QACd,YAAY,EAAE,EAAE;QAChB,gBAAgB,EAAE,CAAC;QACnB,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,EAAE;QACT,WAAW,EAAE,CAAC;QACd,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,CAAC;QACd,YAAY,EAAE,IAAI;QAClB,cAAc,EAAE,CAAC;QACjB,eAAe,EAAE,EAAE;QACnB,SAAS,EAAE,CAAC;QACZ,cAAc,EAAE,KAAK;QAC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C,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;IACvD,CAAC;IAED,OAAO,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACzD,CAAC"}
@@ -9,13 +9,21 @@
9
9
  * namespace tool `fn` in `ns` → function `ns__fn`
10
10
  * custom tool `x` → function `x` taking `{ "input": "<payload>" }`
11
11
  *
12
+ * Deferred top-level function tools (`defer_loading: true`) are a third shape: the OpenAI Agents SDK
13
+ * marks their calls with `namespace == name`. That is not a real namespace — calls must stay bare on
14
+ * the wire, and responses must restore the mark. A real namespace that holds a member of its own name
15
+ * still joins to `name__name` and keeps that wire form (GATEWAY-3608).
16
+ *
12
17
  * The mapping is derived from the original Responses request alone, so the request, response and
13
18
  * stream transforms each rebuild the same one and nothing has to be carried between them.
14
19
  */
15
20
  import type { Tool } from '../../types/requestBody.js';
16
21
  export interface ToolOrigin {
17
22
  kind: 'function' | 'custom';
18
- /** Set only for functions that came from a namespace other than the reserved `functions`. */
23
+ /**
24
+ * Real namespace, or equal to `name` for a deferred top-level function (Agents SDK mark).
25
+ * Unset for ordinary top-level tools.
26
+ */
19
27
  namespace?: string;
20
28
  name: string;
21
29
  }
@@ -9,6 +9,11 @@
9
9
  * namespace tool `fn` in `ns` → function `ns__fn`
10
10
  * custom tool `x` → function `x` taking `{ "input": "<payload>" }`
11
11
  *
12
+ * Deferred top-level function tools (`defer_loading: true`) are a third shape: the OpenAI Agents SDK
13
+ * marks their calls with `namespace == name`. That is not a real namespace — calls must stay bare on
14
+ * the wire, and responses must restore the mark. A real namespace that holds a member of its own name
15
+ * still joins to `name__name` and keeps that wire form (GATEWAY-3608).
16
+ *
12
17
  * The mapping is derived from the original Responses request alone, so the request, response and
13
18
  * stream transforms each rebuild the same one and nothing has to be carried between them.
14
19
  */
@@ -52,8 +57,31 @@ function allocateQualifiedName(namespace, name, used) {
52
57
  }
53
58
  return flat;
54
59
  }
55
- function qualifiedFlatName(namespace, name) {
56
- return namespace && namespace !== DEFAULT_FUNCTION_NAMESPACE ? composeFlatName(namespace, name) : name;
60
+ /**
61
+ * Names of `namespace` tools that hold a function of their own name. Those calls also travel as
62
+ * `namespace == name`, but must keep the joined `name__name` form — unlike deferred top-level tools.
63
+ */
64
+ function selfNamedNamespaceMembers(declared) {
65
+ const names = new Set();
66
+ for (const tool of declared) {
67
+ if (tool?.type !== 'namespace' || !tool.name || !Array.isArray(tool.tools))
68
+ continue;
69
+ if (tool.tools.some((inner) => inner?.type === 'function' && inner.name === tool.name)) {
70
+ names.add(tool.name);
71
+ }
72
+ }
73
+ return names;
74
+ }
75
+ /**
76
+ * Fallback when the pair was not registered from `tools`: join real namespaces, keep
77
+ * `namespace == name` bare (deferred mark; wrong only for a self-named member with no tools present).
78
+ */
79
+ function qualifiedFlatName(namespace, name, selfNamed) {
80
+ if (!namespace || namespace === DEFAULT_FUNCTION_NAMESPACE)
81
+ return name;
82
+ if (namespace === name && !selfNamed.has(name))
83
+ return name;
84
+ return composeFlatName(namespace, name);
57
85
  }
58
86
  function functionTool(flatName, tool) {
59
87
  return {
@@ -67,6 +95,7 @@ export function buildResponsesToolMapping(request) {
67
95
  ...(Array.isArray(request?.tools) ? request.tools : []),
68
96
  ...collectAdditionalInputTools(request?.input),
69
97
  ]);
98
+ const selfNamed = selfNamedNamespaceMembers(declared);
70
99
  const tools = [];
71
100
  const origins = new Map();
72
101
  const registered = new Map();
@@ -84,14 +113,23 @@ export function buildResponsesToolMapping(request) {
84
113
  return;
85
114
  const flat = qualified ? allocateQualifiedName(namespace, tool.name, usedNames) : tool.name;
86
115
  usedNames.add(flat);
116
+ // Deferred top-level tools: Agents SDK mark is namespace == name. Skip when a real namespace
117
+ // already owns that self-named shape (ambiguous; the namespace member wins).
118
+ const deferredTopLevel = !qualified && tool.type === 'function' && tool.defer_loading === true && !selfNamed.has(tool.name);
87
119
  if (tool.type === 'custom') {
88
120
  tools.push(customToolToFunctionTool(tool, flat));
89
121
  origins.set(flat, { kind: 'custom', ...(qualified && { namespace }), name: tool.name });
90
122
  }
91
123
  else {
92
124
  tools.push(functionTool(flat, tool));
93
- if (qualified)
125
+ if (qualified) {
94
126
  origins.set(flat, { kind: 'function', namespace, name: tool.name });
127
+ }
128
+ else if (deferredTopLevel) {
129
+ origins.set(flat, { kind: 'function', namespace: tool.name, name: tool.name });
130
+ // Replay identity for the Agents SDK echo (`namespace == name` → bare provider name).
131
+ registered.set(identityOf(tool.name, tool.name), flat);
132
+ }
95
133
  }
96
134
  registered.set(identity, flat);
97
135
  };
@@ -113,7 +151,7 @@ export function buildResponsesToolMapping(request) {
113
151
  return {
114
152
  tools,
115
153
  origins,
116
- flatName: (namespace, name) => registered.get(identityOf(namespace, name)) ?? qualifiedFlatName(namespace, name),
154
+ flatName: (namespace, name) => registered.get(identityOf(namespace, name)) ?? qualifiedFlatName(namespace, name, selfNamed),
117
155
  originOf: flatName => origins.get(flatName),
118
156
  };
119
157
  }
@@ -1 +1 @@
1
- {"version":3,"file":"toolMapping.js","sourceRoot":"","sources":["../../../src/adapters/responses/toolMapping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,4BAA4B,CAAC;AAEpC,mGAAmG;AACnG,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAChC,MAAM,mBAAmB,GAAG,IAAI,CAAC;AACjC,MAAM,WAAW,GAAG,CAAC,CAAC;AACtB,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;AAmB7C,SAAS,UAAU,CAAC,SAA6B,EAAE,IAAY;IAC7D,OAAO,GAAG,SAAS,IAAI,EAAE,SAAS,IAAI,EAAE,CAAC;AAC3C,CAAC;AAED;;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CACN,CAAC;AACJ,CAAC;AAED,uFAAuF;AACvF,MAAM,UAAU,sBAAsB,CAAC,UAAe,EAAE,OAA6B;IACnF,IAAI,OAAO,UAAU,KAAK,QAAQ;QAAE,OAAO,UAAU,CAAC;IACtD,IAAI,CAAC,UAAU,EAAE,IAAI,KAAK,UAAU,IAAI,UAAU,EAAE,IAAI,KAAK,QAAQ,CAAC,IAAI,UAAU,CAAC,IAAI,EAAE,CAAC;QAC1F,OAAO;YACL,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,EAAE;SAC5E,CAAC;IACJ,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { Decoder } from './helpers.js';
2
- import { A2AAgentSkill, A2AFramework, AI21Integrations, AI21KeyAuth, AI21Model, AI21ProviderAccount, AIFeaturesBringYourOwnModelsProvider, AIFeaturesModels, AIFeaturesSettings, AIFeaturesTrueFoundryProvider, AMQPInputConfig, AMQPMetricConfig, AMQPOutputConfig, AWSAccessKeyAuth, AWSAddons, AWSBackendConfig, AWSBedrockGuardrailConfig, AWSClaudePlatformApiKeyAuth, AWSClaudePlatformAssumedRoleBasedAuth, AWSClaudePlatformIntegrations, AWSClaudePlatformModel, AWSClaudePlatformProviderAccount, AWSDBOnKubernetes, AWSExistingCluster, AWSExistingDatabaseConfig, AWSExistingNetwork, AWSInferentia, AWSNewCluster, AWSNewDatabaseConfig, AWSNewNetwork, AWSRegion, AWSTerraformConfig, AccountManifest, AgentChannelAgent, AgentChannelConfig, AgentChannelManifest, AgentChannelSlackAuth, AgentChannelSlackBotTokenAuth, AgentChannelSlackConfig, AgentFramework, AgentIdentityAutoRotate, AgentIdentityConfig, AgentIdentityManifest, AgentIdentityOwnedBy, AgentIdentityProviderMapping, AgentIdentitySecretStoreConfig, AgentManifest, AgentManifestV2, AgentSkillManifest, AgentSkillSourceBlobStorage, AgentSkillSourceInline, AgentSkillSourceLocal, AgentSource, AktoGuardrailConfig, AktoTokenAuth, AlertConfig, AlertConfigResource, AlertSeverity, AllDataAccessRule, AllowedValuesConstraint, AnthropicIntegrations, AnthropicKeyAuth, AnthropicModel, AnthropicProviderAccount, AnthropicWifAuth, AnyscaleIntegrations, AnyscaleModel, ApplicationSet, ArtifactManifest, ArtifactPath, ArtifactsCacheVolume, ArtifactsDownload, AssistantMessage, AsyncProcessorSidecar, AsyncService, AsyncServiceAutoscaling, AuthTypeAccessKey, AuthTypeProfile, AutoRotate, Autoshutdown, AwsAccessKeyBasedAuth, AwsAgentCoreHarness, AwsAgentCoreRuntime, AwsAssumedRoleBasedAuth, AwsBedrockApiKeyAuth, AwsBedrockAssumedRoleBasedAuth, AwsBedrockMantleIntegrations, AwsBedrockMantleProviderAccount, AwsBedrockProviderAccount, AwsEcr, AwsEksIntegration, AwsEksRegions, AwsIntegrations, AwsParameterStore, AwsProviderAccount, AwsS3, AwsSagemakerProviderAccount, AwsSecretsManager, AwsSqsAccessKeyBasedAuth, AwsSqsAssumedRoleBasedAuth, AzureAddons, AzureAksIntegration, AzureBackendConfig, AzureBasicAuth, AzureBlobStorage, AzureCertificateAuth, AzureClientSecretAuth, AzureConnectionStringAuth, AzureContainerRegistry, AzureContentSafetyCategory, AzureContentSafetyGuardrailConfig, AzureDBOnKubernetes, AzureExistingCluster, AzureExistingDNSZone, AzureExistingDatabaseConfig, AzureExistingNetwork, AzureExistingPlatform, AzureExistingResourceGroup, AzureFoundryModel, AzureFoundryProviderAccount, AzureInitialNodePool, AzureIntegrations, AzureKeyAuth, AzureNewCluster, AzureNewDNSZone, AzureNewDatabaseConfig, AzureNewNetwork, AzureNewPlatform, AzureNewResourceGroup, AzureNodePool, AzureOAuth, AzureOpenAIModel, AzureOpenAIProviderAccount, AzurePIICategory, AzurePIIGuardrailConfig, AzurePromptShieldGuardrailConfig, AzureProviderAccount, AzureReposIntegration, AzureTerraformConfig, AzureVault, AzureWorkloadIdentityAuth, BaseArtifactVersion, BaseAutoscaling, BaseOAuth2Login, BaseRemoteAgent, BaseService, BaseWorkbenchInput, BasetenIntegrations, BasetenKeyAuth, BasetenModel, BasetenProviderAccount, BasicAuthCreds, BedrockMantleModel, BedrockModel, BitbucketDataCenterIntegration, BitbucketIntegration, BitbucketIntegrations, BitbucketProviderAccount, BlobStorageReference, BlueGreen, BudgetAlert, BudgetConfig, BudgetLimitUnit, BudgetRule, BudgetV2Alert, BudgetV2AppliesTo, BudgetV2AppliesToAggregate, BudgetV2AppliesToMetadata, BudgetV2AppliesToPerAgent, BudgetV2AppliesToPerModel, BudgetV2AppliesToPerUser, BudgetV2AppliesToPerVirtualAccount, BudgetV2AppliesToUserScoped, BudgetV2InNotInFilter, BudgetV2Limits, BudgetV2OverrideLimits, BudgetV2PerAgentOverride, BudgetV2PerMetadataOverride, BudgetV2PerModelOverride, BudgetV2PerUserOverride, BudgetV2PerVirtualAccountOverride, BudgetV2SubjectsTeamScoped, BudgetV2SubjectsTenantScoped, BudgetV2UserOwner, BudgetV2WhenTeamScoped, BudgetV2WhenTenantScoped, BudgetV2WhenUserScoped, BudgetWhen, Build, BuildSecret, CPUUtilizationMetric, CacheConfig, CalypsoAIApiKeyAuth, CalypsoAIGuardrailConfig, Canary, CanaryStep, CartesiaApiKeyAuth, CartesiaIntegrations, CartesiaModel, CartesiaProviderAccount, CatoNetworksApiKeyAuth, CatoNetworksGuardrailConfig, CedarGuardrailConfig, CerebrasIntegrations, CerebrasKeyAuth, CerebrasModel, CerebrasProviderAccount, ChatMessageTurn, ChatPromptManifest, CiscoAIDefenseGuardrailConfig, CiscoAIDefenseKeyAuth, ClouderaIntegrations, ClouderaModel, ClouderaProviderAccount, ClouderaTokenAuth, ClouderaWorkloadAuthToken, ClusterManifest, CodeSafetyLinterGuardrailConfig, Codeserver, CohereIntegrations, CohereKeyAuth, CohereModel, CohereProviderAccount, Collaborator, CommonToolsSettings, ComplexityBasedLoadBalanceTarget, ComplexityBasedLoadBalancing, ComputePlaneLoadBalancer, ContainerTaskConfig, ControlPlaneLoadBalancer, CoreNATSOutputConfig, Cost, CostWithRegion, CronMetric, CronSyncSchedule, CrowdStrikeAIDRGuardrailConfig, CrowdStrikeAIDRKeyAuth, CustomAgentServerAuth, CustomBasicAuth, CustomBearerAuth, CustomBlobStorage, CustomClassificationStrategy, CustomClientAuthorizationPassthrough, CustomEndpoint, CustomEndpointIntegrations, CustomEndpointProviderAccount, CustomEndpointTargetConfig, CustomFramework, CustomGuardrailConfig, CustomHeaderAuth, CustomHelmRepo, CustomIntegrations, CustomJWTAuthIntegration, CustomProviderAccount, CustomRegexPattern, CustomServerAwsAccessKeyAuth, CustomServerAwsAssumeRoleAuth, CustomServerAwsSigV4, CustomServerHeaderAuth, CustomServerOAuth2Marker, CustomServerPassthrough, CustomTLSSettings, CustomUsernamePasswordArtifactsRegistry, DarkThemeConfig, DataAccessRule, DataAccessRuleBase, DataDirectoryManifest, DatabricksApiKeyAuth, DatabricksIntegrations, DatabricksJobTaskConfig, DatabricksModel, DatabricksProviderAccount, DatabricksServicePrincipalAuth, DecisionClassificationStrategy, DeepgramApiKeyAuth, DeepgramIntegrations, DeepgramModel, DeepgramProviderAccount, DeepinfraIntegrations, DeepinfraKeyAuth, DeepinfraModel, DeepinfraProviderAccount, DefaultProviderParams, DeveloperMessage, DockerFileBuild, DockerhubBasicAuth, DockerhubIntegrations, DockerhubProviderAccount, DockerhubRegistry, DynamicVolumeConfig, ElevenLabsApiKeyAuth, ElevenLabsIntegrations, ElevenLabsModel, ElevenLabsProviderAccount, Email, EmailNotificationChannel, Endpoint, EnforcingStrategy, EnkryptAIGuardrailConfig, EnkryptAIKeyAuth, EnvAuthOverride, EnvironmentColor, EnvironmentManifest, EnvironmentOptimizeFor, ExactMatchCacheConfig, ExternalBlobStorageSource, ExtraConfiguration, FastAIFramework, Feature, FeaturesSettings, FiddlerGuardType, FiddlerGuardrailConfig, FiddlerKeyAuth, FireworksAIAPIKeyAuth, FireworksAIIntegrations, FireworksAIModel, FireworksAIProviderAccount, FireworksApiKeyAuth, FireworksGuardrailConfig, FlyteLaunchPlan, FlyteLaunchPlanID, FlyteLaunchPlanSpec, FlyteTask, FlyteTaskCustom, FlyteTaskID, FlyteTaskTemplate, FlyteWorkflow, FlyteWorkflowID, FlyteWorkflowTemplate, ForwardAction, Function, FunctionSchema, GCPAddons, GCPBackendConfig, GCPDBOnKubernetes, GCPExistingCluster, GCPExistingDNSZone, GCPExistingDatabaseConfig, GCPExistingNetwork, GCPNewCluster, GCPNewDNSZone, GCPNewDatabaseConfig, GCPNewNetwork, GCPRegion, GCPTerraformConfig, GatewayApiConfig, GatewayApprovalPolicyManifest, GatewayConfig, GatewayDataAccessConfig, GatewayDataCreatedByFilter, GatewayDataMetadataFilter, GatewayDataRoutingConfig, GatewayDataRoutingConfigDestination, GatewayDataRoutingConfigDestinationCondition, GatewayDataRoutingConfigDestinationControlPlaneManagedStorage, GatewayDataRoutingConfigDestinationCreatedByCondition, GatewayDataRoutingConfigDestinationCustomerManagedStorage, GatewayDataRoutingConfigDestinationMetadataCondition, GatewayDataRoutingConfigDestinationStorage, GatewayDataType, GatewayInstallationManifest, GatewayLoggingConfig, GatewayMetadataConfig, GatewayMetadataRule, GatewayMetadataWhen, GatewayOTELConfig, GatewayPolicyManifest, GcpApiKeyAuth, GcpGcr, GcpGcs, GcpGkeIntegration, GcpGsm, GcpIntegrations, GcpKeyFileAuth, GcpProviderAccount, GcpTPU, GeminiModel, GenericAddons, GenericExistingCluster, GenericSecretStoreIntegration, GenericTerraformConfig, GitHelmRepo, GitSource, GithubIntegration, GithubProviderAccount, GitlabIntegration, GitlabProviderAccount, GlobalSettings, GluonFramework, GoogleGeminiProviderAccount, GoogleModelArmorApiKeyAuth, GoogleModelArmorGuardrailConfig, GoogleModelArmorKeyFileAuth, GoogleVertexProviderAccount, GraySwanCygnalApiKeyAuth, GraySwanCygnalGuardrailConfig, GroqIntegrations, GroqKeyAuth, GroqModel, GroqProviderAccount, GuardrailConfigGroup, GuardrailConfigIntegrations, GuardrailSettings, Guardrails, GuardrailsConfig, GuardrailsRule, GuardrailsWhen, H2OFramework, HashicorpAppRoleAuth, HashicorpIntegrations, HashicorpProviderAccount, HashicorpTokenAuth, HashicorpVaultIntegration, HeaderAuthOverride, HeaderMatch, HeaderRoutingConfig, HeadersOverride, HealthProbe, Helm, HelmRepo, HeuristicClassificationStrategy, HeuristicFallbackStrategy, HiddenLayerGuardrailConfig, HiddenLayerOAuth2ClientCredentialsAuth, HostedA2AAgent, HttpProbe, HuggingfaceArtifactSource, IdentityProviderBackedAgentIdentity, IdentityProviderBackedIdentity, IdentityProviderManifest, IdentityProviderMapping, IdentityProviders, Image, ImageContentPart, InNotIn, InNotInOperator, InferMethodName, InfraProviderAccount, IngressControllerConfig, InlineSpecSource, Input, InputOutputBasedCostMetricValue, Intercept, JFrogIntegrations, JWTBasedValidationConfig, JfrogArtifactsRegistry, JfrogBasicAuth, JfrogProviderAccount, Job, JobAlert, JsonObjectResponseFormat, JsonSchema, JsonSchemaResponseFormat, JwtAuthConfig, KafkaInputConfig, KafkaMetricConfig, KafkaOutputConfig, KafkaSASLAuth, KerasFramework, KeyPresenceSpec, KeySpec, KeyValue, KeyValueSpec, Kustomize, LatencyBasedLoadBalanceTarget, LatencyBasedLoadBalancing, LatencyBasedLoadBalancingRule, LegacyAgentManifest, LibraryName, LightGBMFramework, LightThemeConfig, Limits, LlmClassificationStrategy, LoadBalanceTarget, LoadBalancingConfig, LoadBalancingRule, LoadBalancingWhen, LocalArtifactSource, LocalModelSource, LocalSource, LoggingConfig, LoggingMode, LoggingModeAlways, LoggingModeHeaderControlled, LoggingModeNever, LoggingWhen, MCPGatewaySettings, MCPServerAuth, MCPServerAwsAccessKeyAuth, MCPServerAwsAssumeRoleAuth, MCPServerAwsSigV4Auth, MCPServerEnvAuth, MCPServerHeaderAuth, MCPServerIntegration, MCPServerIntegrations, MCPServerManifest, MCPServerOAuth2, MCPServerOAuth2ProviderAuth0Settings, MCPServerOAuth2ProviderOktaIdJagSettings, MCPServerOAuth2ProviderOktaSettings, MCPServerPassthrough, MCPServerProviderAccount, MCPToolAnnotations, MCPToolApprovalCountBasedValidity, MCPToolApprovalPolicyManifest, MCPToolApprovalServer, MCPToolApprovalTimeBasedValidity, MCPToolApprovalToolGroup, MCPToolApprovalValidityMode, MCPToolMetadata, MCPToolPolicy, MCPToolSetting, MCPToolTarget, MCPToolsOperator, MCPUserAuthInput, MCPUserAuthInputV2, MCPUserAuthOverride, MLRepoManifest, MSTeamsIntegrations, MSTeamsProviderAccount, MSTeamsWebhook, MSTeamsWebhookAuth, MSTeamsWebhookIntegration, Manual, McpServerSource, MessageConfig, MessageOption, MicrosoftCopilotStudio, MicrosoftFoundry, MicrosoftFoundryModel, MicrosoftFoundryProviderAccount, MimeType, MirrorAction, MistralAIIntegrations, MistralAIKeyAuth, MistralAIModel, MistralAIProviderAccount, Modalities, Modality, Mode, ModelConfig, ModelConfiguration, ModelCostMetric, ModelManifest, ModelParam, ModelParamKey, ModelParamType, ModelProviderAccount, ModelType, ModelVersionEnvironment, NATSInputConfig, NATSMetricConfig, NATSOutputConfig, NATSUserPasswordAuth, NativeSnowflakeFlyteTaskTemplate, NodeSelector, Nodepool, NodepoolSelector, NomaSecurityApiKeyAuth, NomaSecurityGuardrailConfig, NomicIntegrations, NomicKeyAuth, NomicModel, NomicProviderAccount, NonNegativeFloat, Notebook, NotebookConfig, NotificationTarget, NotificationTargetForAlertRule, NotificationTargetForApproval, NotificationTargetForBudget, NvidiaGPU, NvidiaMIGGPU, NvidiaTimeslicingGPU, OAuth2ClientCredentialsOverride, OAuth2LoginProvider, OCIRepo, OCRCostMetric, OCRCostMetricValue, OIDCAuth, ONNXFramework, OPAAuth, OPABearerAuth, OPAGuardrailConfig, OPAHeaderAuth, OTELExporterGrpcConfigBase, OTELExporterHttpConfigBase, OTELMetricsExporterCommonConfig, OTELMetricsExporterGrpcConfig, OTELMetricsExporterHttpConfig, OTELTracesExporterCommonConfig, OTELTracesExporterGrpcConfig, OTELTracesExporterHttpConfig, OTELTracesExporterSpanAttributeFilter, OidcClientManifest, OktaCrossAppAccessSettings, OllamaIntegrations, OllamaKeyAuth, OllamaModel, OllamaProviderAccount, OpenAIIntegrations, OpenAIModel, OpenAIModerationsGuardrailConfig, OpenAPIMCPServerManifest, OpenAPIMCPToolSetting, OpenAPISpecSource, OpenRouterApiKeyAuth, OpenRouterIntegrations, OpenRouterModel, OpenRouterProviderAccount, OpenaiApiKeyAuth, OpenaiProviderAccount, OpenaiWifAuth, OutboundAuthConnectionHeaderAuth, OutboundAuthConnectionInNotInFilter, OutboundAuthConnectionManifest, OutboundAuthConnectionResource, OutboundAuthConnectionSubjects, OutboundAuthConnectionWhen, OwnDataAccessRule, OwnedBy, PaddleFramework, PagerDuty, PagerDutyIntegration, PagerDutyIntegrationKeyAuth, PagerDutyIntegrations, PagerDutyProviderAccount, PalmIntegrations, PalmKeyAuth, PalmModel, PalmProviderAccount, PaloAltoPrismaAIRSGuardrailConfig, PaloAltoPrismaAIRSKeyAuth, Param, Parameters, PatronusAnswerRelevanceCriteria, PatronusAnswerRelevanceEvaluator, PatronusEvaluator, PatronusGliderCriteria, PatronusGliderEvaluator, PatronusGuardrailConfig, PatronusJudgeCriteria, PatronusJudgeEvaluator, PatronusKeyAuth, PatronusPIICriteria, PatronusPIIEvaluator, PatronusPhiCriteria, PatronusPhiEvaluator, PatronusToxicityCriteria, PatronusToxicityEvaluator, PerMillionCharactersCostMetric, PerMinuteOfAudioCostMetric, PerSecondOfVideoCostMetric, PerThousandEmbeddingTokensCostMetric, PerThousandTokensCostMetric, Permissions, PerplexityAIKeyAuth, PerplexityAIModel, PerplexityAIProviderAccount, PerplexityIntegrations, PersonalAccessTokenManifest, Pip, Poetry, PolicyActions, PolicyEntityTypes, PolicyFilters, PolicyManifest, PolicyMutationOperation, PolicyValidationOperation, Port, PresetRegexPattern, PresetRegexPatternEnum, PricingMode, PricingTier, PriorityBasedLoadBalanceTarget, PriorityBasedLoadBalancing, PriorityBasedLoadBalancingRule, PrivateLoadBalancerType, PrivatePricingTier, PrometheusAlertRule, PromptSource, ProviderAccounts, ProviderIntegrations, Provisioning, ProvisioningSettings, PublicCostMetric, PublicLoadBalancerType, PySparkTaskConfig, PyTorchFramework, PythonBuild, PythonTaskConfig, QuayArtifactsRegistry, QuayBasicAuth, QuayIntegrations, QuayProviderAccount, RPSMetric, RStudio, RateLimitConfig, RateLimitRule, RateLimitUnit, RateLimitV2InNotInFilter, RateLimitV2MCPAppliesTo, RateLimitV2MCPAppliesToAggregate, RateLimitV2MCPAppliesToMetadata, RateLimitV2MCPAppliesToPerMCP, RateLimitV2MCPAppliesToPerUser, RateLimitV2MCPAppliesToPerVirtualAccount, RateLimitV2MCPLimits, RateLimitV2MCPOverrideLimits, RateLimitV2MCPPerMCPOverride, RateLimitV2MCPPerMetadataOverride, RateLimitV2MCPPerUserOverride, RateLimitV2MCPPerVirtualAccountOverride, RateLimitV2MCPWhen, RateLimitV2ModelAppliesTo, RateLimitV2ModelAppliesToAggregate, RateLimitV2ModelAppliesToMetadata, RateLimitV2ModelAppliesToPerModel, RateLimitV2ModelAppliesToPerUser, RateLimitV2ModelAppliesToPerVirtualAccount, RateLimitV2ModelLimits, RateLimitV2ModelOverrideLimits, RateLimitV2ModelPerMetadataOverride, RateLimitV2ModelPerModelOverride, RateLimitV2ModelPerUserOverride, RateLimitV2ModelPerVirtualAccountOverride, RateLimitV2ModelWhen, RateLimitV2Subjects, RateLimitWhen, Redaction, RefusalContentPart, RegexConstraint, RegexGuardrailConfig, RemoteAgent, RemoteAgentOAuth2, RemoteAgentProxyAuth, RemoteAgentProxyViaGatewayConfig, RemoteAgentSource, RemoteAgentV2, RemoteAgentV2AgentIdentity, RemoteAgentV2OwnedBy, RemoteMCPServerManifest, RemoteSource, RemoteSpecSource, ResolveToAgent, ResolveToUser, ResolveToVirtualAccount, Resources, ResponseFormatJSONObject, ResponseFormatJSONSchema, ResponseFormatText, RetryConfig, RoleBindingManifest, RoleBindingPermission, RoleBindingSubject, RoleManifest, Rolling, SAMLAuth, SLACutoff, SMTPCredentials, SQLSanitizerGuardrailConfig, SQSInputConfig, SQSOutputConfig, SQSQueueMetricConfig, SSHServer, SSHServerConfig, SSOSettings, SagemakerAssumedRoleBasedAuth, SagemakerIntegrations, SagemakerModel, SambaNovaIntegrations, SambaNovaKeyAuth, SambaNovaModel, SambaNovaProviderAccount, SampleAgentInput, Schedule, SecretDetectionGuardrailConfig, SecretGroupManifest, SecretMount, SecretStoreConfig, SecretStoreIntegrationConfig, SecurityAccessRestrictions, SecuritySettings, SelfHostedAgent, SelfHostedModel, SelfHostedModelCostMetric, SelfHostedModelIntegrations, SelfHostedModelProviderAccount, SemanticCacheConfig, SemanticCacheSettings, Service, ServiceAutoscaling, SkillScanningSettings, SklearnFramework, SklearnModelSchema, SklearnSerializationFormat, SlackBot, SlackBotAuth, SlackBotIntegration, SlackBotWithUsers, SlackIntegrations, SlackProviderAccount, SlackWebhook, SlackWebhookAuth, SlackWebhookIntegration, SmallestAiApiKeyAuth, SmallestAiIntegrations, SmallestAiModel, SmallestAiProviderAccount, SnowflakeConfig, SnowflakeCortexAgentRegistry, SnowflakeCortexIntegrations, SnowflakeCortexModel, SnowflakeCortexPatTokenAuth, SnowflakeCortexProviderAccount, SnowflakeIntegrations, SnowflakePatTokenAuth, SnowflakeProviderAccount, SnowflakeSql, SnowflakeTaskConfig, SpaCyFramework, SparkBuild, SparkClusterConfig, SparkConfig, SparkDriverConfig, SparkExecutorConfig, SparkExecutorDynamicScaling, SparkExecutorFixedInstances, SparkImage, SparkImageBuild, SparkJob, SparkJobDriverConfig, SparkJobExecutorConfig, SparkJobJavaEntrypoint, SparkJobPythonEntrypoint, SparkJobPythonNotebookEntrypoint, SparkJobScalaEntrypoint, SparkJobScalaNotebookEntrypoint, SparkNotebook, StaticFallbackStrategy, StaticVolumeConfig, StatsModelsFramework, Status, StdioMCPServerManifest, StickyRouting, StickySessionIdentifier, StringDataMount, SubAgent, SubjectClause, SubjectConditionGroup, SupportPortalSettings, SystemMessage, TTLIntegrations, TTLProviderAccount, TTLRegistry, TargetClause, TargetConditionGroup, TaskDockerFileBuild, TaskPySparkBuild, TaskPythonBuild, TaskSparkImage, TeamBudgetConfig, TeamDataAccessRule, TeamManifest, TeamOwnedBy, TeamVirtualAccountDataAccessRule, TenantBudgetConfig, TenantMCPRateLimitConfig, TenantModelRateLimitConfig, TensorFlowFramework, TextContentPart, TfyContentModerationCategory, TfyContentModerationGuardrailConfig, TfyManagedMCPServerManifest, TfyManagedMCPServerOAuth, TfyMetadataGuardrailConfig, TfyPIIGuardrailConfig, TfyPromptInjectionGuardrailConfig, TfySecretsConfig, ThemeConfig, ThemeSettings, TieredPricing, TogetherAIIntegrations, TogetherAIKeyAuth, TogetherAIModel, TogetherAIProviderAccount, ToolCall, ToolCost, ToolMessage, ToolPricing, ToolSchema, TracingApplicationManifest, TracingProjectControlPlaneManagedStorage, TracingProjectCustomerManagedStorage, TracingProjectManifest, TracingProjectStorageConfig, TracingProjectsControlPlaneStorage, TransformersFramework, TrojAIClientIdAuth, TrojAIGuardrailConfig, TrueFoundryAgentAskUserQuestionsConfig, TrueFoundryAgentCompactionConfig, TrueFoundryAgentConfig, TrueFoundryAgentContextManagementConfig, TrueFoundryAgentDynamicSubAgentsConfig, TrueFoundryAgentGenerativeUIConfig, TrueFoundryAgentGitSourceSkill, TrueFoundryAgentLargeToolResponseConfig, TrueFoundryAgentManifest, TrueFoundryAgentMcpServer, TrueFoundryAgentMcpServerInline, TrueFoundryAgentMcpServerRegistry, TrueFoundryAgentModel, TrueFoundryAgentModelParams, TrueFoundryAgentResponseFormat, TrueFoundryAgentSandboxAuthData, TrueFoundryAgentSandboxAuthInject, TrueFoundryAgentSandboxAuthInjectMatch, TrueFoundryAgentSandboxBasicAuthData, TrueFoundryAgentSandboxConfig, TrueFoundryAgentSandboxGitAuthInject, TrueFoundryAgentSandboxNetworkPolicy, TrueFoundryAgentSkill, TrueFoundryAgentTrueFoundrySkill, TrueFoundryAgentUserMessage, TrueFoundryAgentVariable, TrueFoundryArtifactSource, TrueFoundryBackedAgentIdentity, TrueFoundryDBSSM, TrueFoundryIntegrations, TrueFoundryInteractiveLogin, TrueFoundryManagedApiKeyAuth, TrueFoundryManagedIntegrations, TrueFoundryManagedModel, TrueFoundryManagedProviderAccount, TrueFoundryManagedSource, TrueFoundryProviderAccount, TruefoundryBackedIdentity, TruefoundryFlyteTaskTemplate, TypeSafeAPIKeyAuth, TypeSafeIntegrations, TypeSafeModel, TypeSafeProviderAccount, UV, UploadSpecSource, UserBudgetConfig, UserMessage, VCSOAuthAuthData, VCSTokenAuthData, ValueConstraint, VertexKeyFileAuth, VertexModel, VertexRegion, VertexWifFileAuth, VideoCostValue, VideoResolutionRate, VirtualAccountManifest, VirtualAccountOwnedBy, VirtualMCPServerIntegration, VirtualMCPServerManifest, VirtualMCPServerSource, VirtualModel, VirtualModelModelType, VirtualModelProviderAccount, Volume, VolumeBrowser, VolumeMount, WaferAPIKeyAuth, WaferIntegrations, WaferModel, WaferProviderAccount, Webhook, WebhookBasicAuth, WebhookBearerAuth, WebhookIntegration, WebhookIntegrations, WebhookNotificationChannel, WebhookProviderAccount, WeightBasedLoadBalancing, WeightBasedLoadBalancingRule, WorkbenchImage, WorkerConfig, Workflow, WorkflowAlert, WorkspaceManifest, XAIIntegrations, XAIKeyAuth, XAIModel, XAIProviderAccount, XGBoostFramework, XGBoostModelSchema, XGBoostSerializationFormat, ZscalerAIGuardApiKeyAuth, ZscalerAIGuardGuardrailConfig } from './models.js';
2
+ import { A2AAgentSkill, A2AFramework, AI21Integrations, AI21KeyAuth, AI21Model, AI21ProviderAccount, AIFeaturesBringYourOwnModelsProvider, AIFeaturesModels, AIFeaturesSettings, AIFeaturesTrueFoundryProvider, AMQPInputConfig, AMQPMetricConfig, AMQPOutputConfig, AWSAccessKeyAuth, AWSAddons, AWSBackendConfig, AWSBedrockGuardrailConfig, AWSClaudePlatformApiKeyAuth, AWSClaudePlatformAssumedRoleBasedAuth, AWSClaudePlatformIntegrations, AWSClaudePlatformModel, AWSClaudePlatformProviderAccount, AWSDBOnKubernetes, AWSExistingCluster, AWSExistingDatabaseConfig, AWSExistingNetwork, AWSInferentia, AWSNewCluster, AWSNewDatabaseConfig, AWSNewNetwork, AWSRegion, AWSTerraformConfig, AccountManifest, AgentChannelAgent, AgentChannelConfig, AgentChannelManifest, AgentChannelSlackAuth, AgentChannelSlackBotTokenAuth, AgentChannelSlackConfig, AgentFramework, AgentIdentityAutoRotate, AgentIdentityConfig, AgentIdentityManifest, AgentIdentityOwnedBy, AgentIdentityProviderMapping, AgentIdentitySecretStoreConfig, AgentManifest, AgentManifestV2, AgentSkillManifest, AgentSkillSourceBlobStorage, AgentSkillSourceInline, AgentSkillSourceLocal, AgentSource, AktoGuardrailConfig, AktoTokenAuth, AlertConfig, AlertConfigResource, AlertSeverity, AllDataAccessRule, AllowedValuesConstraint, AnthropicIntegrations, AnthropicKeyAuth, AnthropicModel, AnthropicProviderAccount, AnthropicWifAuth, AnyscaleIntegrations, AnyscaleModel, ApplicationSet, ArtifactManifest, ArtifactPath, ArtifactsCacheVolume, ArtifactsDownload, AssistantMessage, AsyncProcessorSidecar, AsyncService, AsyncServiceAutoscaling, AuthTypeAccessKey, AuthTypeProfile, AutoRotate, Autoshutdown, AwsAccessKeyBasedAuth, AwsAgentCoreHarness, AwsAgentCoreRuntime, AwsAssumedRoleBasedAuth, AwsBedrockApiKeyAuth, AwsBedrockAssumedRoleBasedAuth, AwsBedrockMantleIntegrations, AwsBedrockMantleProviderAccount, AwsBedrockProviderAccount, AwsEcr, AwsEksIntegration, AwsEksRegions, AwsIntegrations, AwsParameterStore, AwsProviderAccount, AwsS3, AwsSagemakerProviderAccount, AwsSecretsManager, AwsSqsAccessKeyBasedAuth, AwsSqsAssumedRoleBasedAuth, AzureAddons, AzureAksIntegration, AzureBackendConfig, AzureBasicAuth, AzureBlobStorage, AzureCertificateAuth, AzureClientSecretAuth, AzureConnectionStringAuth, AzureContainerRegistry, AzureContentSafetyCategory, AzureContentSafetyGuardrailConfig, AzureDBOnKubernetes, AzureExistingCluster, AzureExistingDNSZone, AzureExistingDatabaseConfig, AzureExistingNetwork, AzureExistingPlatform, AzureExistingResourceGroup, AzureFoundryModel, AzureFoundryProviderAccount, AzureInitialNodePool, AzureIntegrations, AzureKeyAuth, AzureNewCluster, AzureNewDNSZone, AzureNewDatabaseConfig, AzureNewNetwork, AzureNewPlatform, AzureNewResourceGroup, AzureNodePool, AzureOAuth, AzureOpenAIModel, AzureOpenAIProviderAccount, AzurePIICategory, AzurePIIGuardrailConfig, AzurePromptShieldGuardrailConfig, AzureProviderAccount, AzureReposIntegration, AzureTerraformConfig, AzureVault, AzureWorkloadIdentityAuth, BaseArtifactVersion, BaseAutoscaling, BaseOAuth2Login, BaseRemoteAgent, BaseService, BaseWorkbenchInput, BasetenIntegrations, BasetenKeyAuth, BasetenModel, BasetenProviderAccount, BasicAuthCreds, BedrockMantleModel, BedrockModel, BitbucketDataCenterIntegration, BitbucketIntegration, BitbucketIntegrations, BitbucketProviderAccount, BlobStorageReference, BlueGreen, BudgetAlert, BudgetConfig, BudgetLimitUnit, BudgetRule, BudgetV2Alert, BudgetV2AppliesTo, BudgetV2AppliesToAggregate, BudgetV2AppliesToMetadata, BudgetV2AppliesToPerAgent, BudgetV2AppliesToPerModel, BudgetV2AppliesToPerUser, BudgetV2AppliesToPerVirtualAccount, BudgetV2AppliesToUserScoped, BudgetV2InNotInFilter, BudgetV2Limits, BudgetV2OverrideLimits, BudgetV2PerAgentOverride, BudgetV2PerMetadataOverride, BudgetV2PerModelOverride, BudgetV2PerUserOverride, BudgetV2PerVirtualAccountOverride, BudgetV2SubjectsTeamScoped, BudgetV2SubjectsTenantScoped, BudgetV2UserOwner, BudgetV2WhenTeamScoped, BudgetV2WhenTenantScoped, BudgetV2WhenUserScoped, BudgetWhen, Build, BuildSecret, CPUUtilizationMetric, CacheConfig, CalypsoAIApiKeyAuth, CalypsoAIGuardrailConfig, Canary, CanaryStep, CartesiaApiKeyAuth, CartesiaIntegrations, CartesiaModel, CartesiaProviderAccount, CatoNetworksApiKeyAuth, CatoNetworksGuardrailConfig, CedarGuardrailConfig, CerebrasIntegrations, CerebrasKeyAuth, CerebrasModel, CerebrasProviderAccount, ChatMessageTurn, ChatPromptManifest, CiscoAIDefenseGuardrailConfig, CiscoAIDefenseKeyAuth, ClouderaIntegrations, ClouderaModel, ClouderaProviderAccount, ClouderaTokenAuth, ClouderaWorkloadAuthToken, ClusterManifest, CodeSafetyLinterGuardrailConfig, Codeserver, CohereIntegrations, CohereKeyAuth, CohereModel, CohereProviderAccount, Collaborator, CommonToolsSettings, ComplexityBasedLoadBalanceTarget, ComplexityBasedLoadBalancing, ComputePlaneLoadBalancer, ContainerTaskConfig, ControlPlaneLoadBalancer, CoreNATSOutputConfig, Cost, CostWithRegion, CronMetric, CronSyncSchedule, CrowdStrikeAIDRGuardrailConfig, CrowdStrikeAIDRKeyAuth, CustomAgentServerAuth, CustomBasicAuth, CustomBearerAuth, CustomBlobStorage, CustomClassificationStrategy, CustomClientAuthorizationPassthrough, CustomEndpoint, CustomEndpointIntegrations, CustomEndpointProviderAccount, CustomEndpointTargetConfig, CustomFramework, CustomGuardrailConfig, CustomHeaderAuth, CustomHelmRepo, CustomIntegrations, CustomJWTAuthIntegration, CustomProviderAccount, CustomRegexPattern, CustomServerAwsAccessKeyAuth, CustomServerAwsAssumeRoleAuth, CustomServerAwsSigV4, CustomServerHeaderAuth, CustomServerOAuth2Marker, CustomServerPassthrough, CustomTLSSettings, CustomUsernamePasswordArtifactsRegistry, DarkThemeConfig, DataAccessRule, DataAccessRuleBase, DataDirectoryManifest, DatabricksApiKeyAuth, DatabricksIntegrations, DatabricksJobTaskConfig, DatabricksModel, DatabricksProviderAccount, DatabricksServicePrincipalAuth, DecisionClassificationStrategy, DeepgramApiKeyAuth, DeepgramIntegrations, DeepgramModel, DeepgramProviderAccount, DeepinfraIntegrations, DeepinfraKeyAuth, DeepinfraModel, DeepinfraProviderAccount, DefaultProviderParams, DeveloperMessage, DockerFileBuild, DockerhubBasicAuth, DockerhubIntegrations, DockerhubProviderAccount, DockerhubRegistry, DynamicVolumeConfig, ElevenLabsApiKeyAuth, ElevenLabsIntegrations, ElevenLabsModel, ElevenLabsProviderAccount, Email, EmailNotificationChannel, Endpoint, EnforcingStrategy, EnkryptAIGuardrailConfig, EnkryptAIKeyAuth, EnvAuthOverride, EnvironmentColor, EnvironmentManifest, EnvironmentOptimizeFor, ExactMatchCacheConfig, ExternalBlobStorageSource, ExtraConfiguration, FastAIFramework, Feature, FeaturesSettings, FiddlerGuardType, FiddlerGuardrailConfig, FiddlerKeyAuth, FireworksAIAPIKeyAuth, FireworksAIIntegrations, FireworksAIModel, FireworksAIProviderAccount, FireworksApiKeyAuth, FireworksGuardrailConfig, FlyteLaunchPlan, FlyteLaunchPlanID, FlyteLaunchPlanSpec, FlyteTask, FlyteTaskCustom, FlyteTaskID, FlyteTaskTemplate, FlyteWorkflow, FlyteWorkflowID, FlyteWorkflowTemplate, ForwardAction, Function, FunctionSchema, GCPAddons, GCPBackendConfig, GCPDBOnKubernetes, GCPExistingCluster, GCPExistingDNSZone, GCPExistingDatabaseConfig, GCPExistingNetwork, GCPNewCluster, GCPNewDNSZone, GCPNewDatabaseConfig, GCPNewNetwork, GCPRegion, GCPTerraformConfig, GatewayApiConfig, GatewayApprovalPolicyManifest, GatewayConfig, GatewayDataAccessConfig, GatewayDataCreatedByFilter, GatewayDataMetadataFilter, GatewayDataRoutingConfig, GatewayDataRoutingConfigDestination, GatewayDataRoutingConfigDestinationCondition, GatewayDataRoutingConfigDestinationControlPlaneManagedStorage, GatewayDataRoutingConfigDestinationCreatedByCondition, GatewayDataRoutingConfigDestinationCustomerManagedStorage, GatewayDataRoutingConfigDestinationMetadataCondition, GatewayDataRoutingConfigDestinationStorage, GatewayDataType, GatewayInstallationManifest, GatewayLoggingConfig, GatewayMetadataConfig, GatewayMetadataRule, GatewayMetadataWhen, GatewayOTELConfig, GatewayPolicyManifest, GcpApiKeyAuth, GcpGcr, GcpGcs, GcpGkeIntegration, GcpGsm, GcpIntegrations, GcpKeyFileAuth, GcpProviderAccount, GcpTPU, GeminiModel, GenericAddons, GenericExistingCluster, GenericSecretStoreIntegration, GenericTerraformConfig, GitHelmRepo, GitSource, GithubIntegration, GithubProviderAccount, GitlabIntegration, GitlabProviderAccount, GlobalSettings, GluonFramework, GoogleGeminiProviderAccount, GoogleModelArmorApiKeyAuth, GoogleModelArmorGuardrailConfig, GoogleModelArmorKeyFileAuth, GoogleVertexProviderAccount, GraySwanCygnalApiKeyAuth, GraySwanCygnalGuardrailConfig, GroqIntegrations, GroqKeyAuth, GroqModel, GroqProviderAccount, GuardrailConfigGroup, GuardrailConfigIntegrations, GuardrailSettings, Guardrails, GuardrailsConfig, GuardrailsRule, GuardrailsWhen, H2OFramework, HashicorpAppRoleAuth, HashicorpIntegrations, HashicorpProviderAccount, HashicorpTokenAuth, HashicorpVaultIntegration, HeaderAuthOverride, HeaderMatch, HeaderRoutingConfig, HeadersOverride, HealthProbe, Helm, HelmRepo, HeuristicClassificationStrategy, HeuristicFallbackStrategy, HiddenLayerGuardrailConfig, HiddenLayerOAuth2ClientCredentialsAuth, HostedA2AAgent, HttpProbe, HuggingfaceArtifactSource, IdentityProviderBackedAgentIdentity, IdentityProviderBackedIdentity, IdentityProviderManifest, IdentityProviderMapping, IdentityProviders, Image, ImageContentPart, InNotIn, InNotInOperator, InferMethodName, InfraProviderAccount, IngressControllerConfig, InlineSpecSource, Input, InputOutputBasedCostMetricValue, Intercept, JFrogIntegrations, JWTBasedValidationConfig, JfrogArtifactsRegistry, JfrogBasicAuth, JfrogProviderAccount, Job, JobAlert, JsonObjectResponseFormat, JsonSchema, JsonSchemaResponseFormat, JwtAuthConfig, KafkaInputConfig, KafkaMetricConfig, KafkaOutputConfig, KafkaSASLAuth, KerasFramework, KeyPresenceSpec, KeySpec, KeyValue, KeyValueSpec, Kustomize, LatencyBasedLoadBalanceTarget, LatencyBasedLoadBalancing, LatencyBasedLoadBalancingRule, LegacyAgentManifest, LibraryName, LightGBMFramework, LightThemeConfig, Limits, LlmClassificationStrategy, LoadBalanceTarget, LoadBalancingConfig, LoadBalancingRule, LoadBalancingWhen, LocalArtifactSource, LocalModelSource, LocalSource, LoggingConfig, LoggingMode, LoggingModeAlways, LoggingModeHeaderControlled, LoggingModeNever, LoggingWhen, MCPGatewaySettings, MCPServerAuth, MCPServerAwsAccessKeyAuth, MCPServerAwsAssumeRoleAuth, MCPServerAwsSigV4Auth, MCPServerEnvAuth, MCPServerHeaderAuth, MCPServerIntegration, MCPServerIntegrations, MCPServerManifest, MCPServerOAuth2, MCPServerOAuth2ProviderAuth0Settings, MCPServerOAuth2ProviderOktaIdJagSettings, MCPServerOAuth2ProviderOktaSettings, MCPServerPassthrough, MCPServerProviderAccount, MCPToolAnnotations, MCPToolApprovalCountBasedValidity, MCPToolApprovalPolicyManifest, MCPToolApprovalServer, MCPToolApprovalTimeBasedValidity, MCPToolApprovalToolGroup, MCPToolApprovalValidityMode, MCPToolMetadata, MCPToolPolicy, MCPToolSetting, MCPToolTarget, MCPToolsOperator, MCPUserAuthInput, MCPUserAuthInputV2, MCPUserAuthOverride, MLRepoManifest, MSTeamsIntegrations, MSTeamsProviderAccount, MSTeamsWebhook, MSTeamsWebhookAuth, MSTeamsWebhookIntegration, Manual, McpServerSource, MessageConfig, MessageOption, MicrosoftCopilotStudio, MicrosoftFoundry, MicrosoftFoundryModel, MicrosoftFoundryProviderAccount, MimeType, MirrorAction, MistralAIIntegrations, MistralAIKeyAuth, MistralAIModel, MistralAIProviderAccount, Modalities, Modality, Mode, ModelConfig, ModelConfiguration, ModelCostMetric, ModelManifest, ModelParam, ModelParamKey, ModelParamType, ModelProviderAccount, ModelType, ModelVersionEnvironment, NATSInputConfig, NATSMetricConfig, NATSOutputConfig, NATSUserPasswordAuth, NativeSnowflakeFlyteTaskTemplate, NodeSelector, Nodepool, NodepoolSelector, NomaSecurityApiKeyAuth, NomaSecurityGuardrailConfig, NomicIntegrations, NomicKeyAuth, NomicModel, NomicProviderAccount, NonNegativeFloat, Notebook, NotebookConfig, NotificationTarget, NotificationTargetForAlertRule, NotificationTargetForApproval, NotificationTargetForBudget, NvidiaGPU, NvidiaMIGGPU, NvidiaTimeslicingGPU, OAuth2ClientCredentialsOverride, OAuth2LoginProvider, OCIRepo, OCRCostMetric, OCRCostMetricValue, OIDCAuth, ONNXFramework, OPAAuth, OPABearerAuth, OPAGuardrailConfig, OPAHeaderAuth, OTELExporterGrpcConfigBase, OTELExporterHttpConfigBase, OTELMetricsExporterCommonConfig, OTELMetricsExporterGrpcConfig, OTELMetricsExporterHttpConfig, OTELTracesExporterCommonConfig, OTELTracesExporterGrpcConfig, OTELTracesExporterHttpConfig, OTELTracesExporterSpanAttributeFilter, OidcClientManifest, OktaCrossAppAccessSettings, OllamaIntegrations, OllamaKeyAuth, OllamaModel, OllamaProviderAccount, OpenAIIntegrations, OpenAIModel, OpenAIModerationsGuardrailConfig, OpenAPIMCPServerManifest, OpenAPIMCPToolSetting, OpenAPISpecSource, OpenRouterApiKeyAuth, OpenRouterIntegrations, OpenRouterModel, OpenRouterProviderAccount, OpenaiApiKeyAuth, OpenaiProviderAccount, OpenaiWifAuth, OutboundAuthConnectionHeaderAuth, OutboundAuthConnectionInNotInFilter, OutboundAuthConnectionManifest, OutboundAuthConnectionResource, OutboundAuthConnectionSubjects, OutboundAuthConnectionWhen, OwnDataAccessRule, OwnedBy, PaddleFramework, PagerDuty, PagerDutyIntegration, PagerDutyIntegrationKeyAuth, PagerDutyIntegrations, PagerDutyProviderAccount, PalmIntegrations, PalmKeyAuth, PalmModel, PalmProviderAccount, PaloAltoPrismaAIRSGuardrailConfig, PaloAltoPrismaAIRSKeyAuth, Param, Parameters, PatronusAnswerRelevanceCriteria, PatronusAnswerRelevanceEvaluator, PatronusEvaluator, PatronusGliderCriteria, PatronusGliderEvaluator, PatronusGuardrailConfig, PatronusJudgeCriteria, PatronusJudgeEvaluator, PatronusKeyAuth, PatronusPIICriteria, PatronusPIIEvaluator, PatronusPhiCriteria, PatronusPhiEvaluator, PatronusToxicityCriteria, PatronusToxicityEvaluator, PerMillionCharactersCostMetric, PerMinuteOfAudioCostMetric, PerSecondOfVideoCostMetric, PerThousandEmbeddingTokensCostMetric, PerThousandTokensCostMetric, Permissions, PerplexityAIKeyAuth, PerplexityAIModel, PerplexityAIProviderAccount, PerplexityIntegrations, PersonalAccessTokenManifest, Pip, Poetry, PolicyActions, PolicyEntityTypes, PolicyFilters, PolicyManifest, PolicyMutationOperation, PolicyValidationOperation, Port, PresetRegexPattern, PresetRegexPatternEnum, PricingMode, PricingTier, PriorityBasedLoadBalanceTarget, PriorityBasedLoadBalancing, PriorityBasedLoadBalancingRule, PrivateLoadBalancerType, PrivatePricingTier, PrometheusAlertRule, PromptSource, ProviderAccounts, ProviderIntegrations, Provisioning, ProvisioningSettings, PublicCostMetric, PublicLoadBalancerType, PySparkTaskConfig, PyTorchFramework, PythonBuild, PythonTaskConfig, QuayArtifactsRegistry, QuayBasicAuth, QuayIntegrations, QuayProviderAccount, RPSMetric, RStudio, RateLimitConfig, RateLimitRule, RateLimitUnit, RateLimitV2InNotInFilter, RateLimitV2MCPAppliesTo, RateLimitV2MCPAppliesToAggregate, RateLimitV2MCPAppliesToMetadata, RateLimitV2MCPAppliesToPerMCP, RateLimitV2MCPAppliesToPerUser, RateLimitV2MCPAppliesToPerVirtualAccount, RateLimitV2MCPLimits, RateLimitV2MCPOverrideLimits, RateLimitV2MCPPerMCPOverride, RateLimitV2MCPPerMetadataOverride, RateLimitV2MCPPerUserOverride, RateLimitV2MCPPerVirtualAccountOverride, RateLimitV2MCPWhen, RateLimitV2ModelAppliesTo, RateLimitV2ModelAppliesToAggregate, RateLimitV2ModelAppliesToMetadata, RateLimitV2ModelAppliesToPerModel, RateLimitV2ModelAppliesToPerUser, RateLimitV2ModelAppliesToPerVirtualAccount, RateLimitV2ModelLimits, RateLimitV2ModelOverrideLimits, RateLimitV2ModelPerMetadataOverride, RateLimitV2ModelPerModelOverride, RateLimitV2ModelPerUserOverride, RateLimitV2ModelPerVirtualAccountOverride, RateLimitV2ModelWhen, RateLimitV2Subjects, RateLimitWhen, Redaction, RefusalContentPart, RegexConstraint, RegexGuardrailConfig, RemoteAgent, RemoteAgentOAuth2, RemoteAgentProxyAuth, RemoteAgentProxyViaGatewayConfig, RemoteAgentSource, RemoteAgentV2, RemoteAgentV2AgentIdentity, RemoteAgentV2OwnedBy, RemoteMCPServerManifest, RemoteSource, RemoteSpecSource, ResolveToAgent, ResolveToUser, ResolveToVirtualAccount, Resources, ResponseFormatJSONObject, ResponseFormatJSONSchema, ResponseFormatText, RetryConfig, RoleBindingManifest, RoleBindingPermission, RoleBindingSubject, RoleManifest, Rolling, SAMLAuth, SLACutoff, SMTPCredentials, SQLSanitizerGuardrailConfig, SQSInputConfig, SQSOutputConfig, SQSQueueMetricConfig, SSHServer, SSHServerConfig, SSOSettings, SagemakerAssumedRoleBasedAuth, SagemakerIntegrations, SagemakerModel, SambaNovaIntegrations, SambaNovaKeyAuth, SambaNovaModel, SambaNovaProviderAccount, SampleAgentInput, Schedule, SecretDetectionGuardrailConfig, SecretGroupManifest, SecretMount, SecretStoreConfig, SecretStoreIntegrationConfig, SecurityAccessRestrictions, SecuritySettings, SelfHostedAgent, SelfHostedModel, SelfHostedModelCostMetric, SelfHostedModelIntegrations, SelfHostedModelProviderAccount, SelfHostedModelReasoningEffort, SemanticCacheConfig, SemanticCacheSettings, Service, ServiceAutoscaling, SkillScanningSettings, SklearnFramework, SklearnModelSchema, SklearnSerializationFormat, SlackBot, SlackBotAuth, SlackBotIntegration, SlackBotWithUsers, SlackIntegrations, SlackProviderAccount, SlackWebhook, SlackWebhookAuth, SlackWebhookIntegration, SmallestAiApiKeyAuth, SmallestAiIntegrations, SmallestAiModel, SmallestAiProviderAccount, SnowflakeConfig, SnowflakeCortexAgentRegistry, SnowflakeCortexIntegrations, SnowflakeCortexModel, SnowflakeCortexPatTokenAuth, SnowflakeCortexProviderAccount, SnowflakeIntegrations, SnowflakePatTokenAuth, SnowflakeProviderAccount, SnowflakeSql, SnowflakeTaskConfig, SpaCyFramework, SparkBuild, SparkClusterConfig, SparkConfig, SparkDriverConfig, SparkExecutorConfig, SparkExecutorDynamicScaling, SparkExecutorFixedInstances, SparkImage, SparkImageBuild, SparkJob, SparkJobDriverConfig, SparkJobExecutorConfig, SparkJobJavaEntrypoint, SparkJobPythonEntrypoint, SparkJobPythonNotebookEntrypoint, SparkJobScalaEntrypoint, SparkJobScalaNotebookEntrypoint, SparkNotebook, StaticFallbackStrategy, StaticVolumeConfig, StatsModelsFramework, Status, StdioMCPServerManifest, StickyRouting, StickySessionIdentifier, StringDataMount, SubAgent, SubjectClause, SubjectConditionGroup, SupportPortalSettings, SystemMessage, TTLIntegrations, TTLProviderAccount, TTLRegistry, TargetClause, TargetConditionGroup, TaskDockerFileBuild, TaskPySparkBuild, TaskPythonBuild, TaskSparkImage, TeamBudgetConfig, TeamDataAccessRule, TeamManifest, TeamOwnedBy, TeamVirtualAccountDataAccessRule, TenantBudgetConfig, TenantMCPRateLimitConfig, TenantModelRateLimitConfig, TensorFlowFramework, TextContentPart, TfyContentModerationCategory, TfyContentModerationGuardrailConfig, TfyManagedMCPServerManifest, TfyManagedMCPServerOAuth, TfyMetadataGuardrailConfig, TfyPIIGuardrailConfig, TfyPromptInjectionGuardrailConfig, TfySecretsConfig, ThemeConfig, ThemeSettings, TieredPricing, TogetherAIIntegrations, TogetherAIKeyAuth, TogetherAIModel, TogetherAIProviderAccount, ToolCall, ToolCost, ToolMessage, ToolPricing, ToolSchema, TracingApplicationManifest, TracingProjectControlPlaneManagedStorage, TracingProjectCustomerManagedStorage, TracingProjectManifest, TracingProjectStorageConfig, TracingProjectsControlPlaneStorage, TransformersFramework, TrojAIClientIdAuth, TrojAIGuardrailConfig, TrueFoundryAgentAskUserQuestionsConfig, TrueFoundryAgentCompactionConfig, TrueFoundryAgentConfig, TrueFoundryAgentContextManagementConfig, TrueFoundryAgentDynamicSubAgentsConfig, TrueFoundryAgentGenerativeUIConfig, TrueFoundryAgentGitSourceSkill, TrueFoundryAgentLargeToolResponseConfig, TrueFoundryAgentManifest, TrueFoundryAgentMcpServer, TrueFoundryAgentMcpServerInline, TrueFoundryAgentMcpServerRegistry, TrueFoundryAgentModel, TrueFoundryAgentModelParams, TrueFoundryAgentResponseFormat, TrueFoundryAgentSandboxAuthData, TrueFoundryAgentSandboxAuthInject, TrueFoundryAgentSandboxAuthInjectMatch, TrueFoundryAgentSandboxBasicAuthData, TrueFoundryAgentSandboxConfig, TrueFoundryAgentSandboxGitAuthInject, TrueFoundryAgentSandboxNetworkPolicy, TrueFoundryAgentSkill, TrueFoundryAgentTrueFoundrySkill, TrueFoundryAgentUserMessage, TrueFoundryAgentVariable, TrueFoundryArtifactSource, TrueFoundryBackedAgentIdentity, TrueFoundryDBSSM, TrueFoundryIntegrations, TrueFoundryInteractiveLogin, TrueFoundryManagedApiKeyAuth, TrueFoundryManagedIntegrations, TrueFoundryManagedModel, TrueFoundryManagedProviderAccount, TrueFoundryManagedSource, TrueFoundryProviderAccount, TruefoundryBackedIdentity, TruefoundryFlyteTaskTemplate, TypeSafeAPIKeyAuth, TypeSafeIntegrations, TypeSafeModel, TypeSafeProviderAccount, UV, UploadSpecSource, UserBudgetConfig, UserMessage, VCSOAuthAuthData, VCSTokenAuthData, ValueConstraint, VertexKeyFileAuth, VertexModel, VertexRegion, VertexWifFileAuth, VideoCostValue, VideoResolutionRate, VirtualAccountManifest, VirtualAccountOwnedBy, VirtualMCPServerIntegration, VirtualMCPServerManifest, VirtualMCPServerSource, VirtualModel, VirtualModelModelType, VirtualModelProviderAccount, Volume, VolumeBrowser, VolumeMount, WaferAPIKeyAuth, WaferIntegrations, WaferModel, WaferProviderAccount, Webhook, WebhookBasicAuth, WebhookBearerAuth, WebhookIntegration, WebhookIntegrations, WebhookNotificationChannel, WebhookProviderAccount, WeightBasedLoadBalancing, WeightBasedLoadBalancingRule, WorkbenchImage, WorkerConfig, Workflow, WorkflowAlert, WorkspaceManifest, XAIIntegrations, XAIKeyAuth, XAIModel, XAIProviderAccount, XGBoostFramework, XGBoostModelSchema, XGBoostSerializationFormat, ZscalerAIGuardApiKeyAuth, ZscalerAIGuardGuardrailConfig } from './models.js';
3
3
  export declare const A2AAgentSkillDecoder: Decoder<A2AAgentSkill>;
4
4
  export declare const A2AFrameworkDecoder: Decoder<A2AFramework>;
5
5
  export declare const AI21IntegrationsDecoder: Decoder<AI21Integrations>;
@@ -788,6 +788,7 @@ export declare const SelfHostedModelDecoder: Decoder<SelfHostedModel>;
788
788
  export declare const SelfHostedModelCostMetricDecoder: Decoder<SelfHostedModelCostMetric>;
789
789
  export declare const SelfHostedModelIntegrationsDecoder: Decoder<SelfHostedModelIntegrations>;
790
790
  export declare const SelfHostedModelProviderAccountDecoder: Decoder<SelfHostedModelProviderAccount>;
791
+ export declare const SelfHostedModelReasoningEffortDecoder: Decoder<SelfHostedModelReasoningEffort>;
791
792
  export declare const SemanticCacheConfigDecoder: Decoder<SemanticCacheConfig>;
792
793
  export declare const SemanticCacheSettingsDecoder: Decoder<SemanticCacheSettings>;
793
794
  export declare const ServiceDecoder: Decoder<Service>;
@@ -8673,6 +8673,17 @@ export const SelfHostedModelProviderAccountDecoder = {
8673
8673
  return validateJson(json, schema, SelfHostedModelProviderAccountDecoder.definitionName);
8674
8674
  },
8675
8675
  };
8676
+ export const SelfHostedModelReasoningEffortDecoder = {
8677
+ definitionName: 'SelfHostedModelReasoningEffort',
8678
+ schemaRef: '#/definitions/SelfHostedModelReasoningEffort',
8679
+ decode(json) {
8680
+ const schema = ajv.getSchema(SelfHostedModelReasoningEffortDecoder.schemaRef);
8681
+ if (!schema) {
8682
+ throw new Error(`Schema ${SelfHostedModelReasoningEffortDecoder.definitionName} not found`);
8683
+ }
8684
+ return validateJson(json, schema, SelfHostedModelReasoningEffortDecoder.definitionName);
8685
+ },
8686
+ };
8676
8687
  export const SemanticCacheConfigDecoder = {
8677
8688
  definitionName: 'SemanticCacheConfig',
8678
8689
  schemaRef: '#/definitions/SemanticCacheConfig',