@wix/auto_sdk_ai-gateway_prompts 1.0.0 → 1.0.2
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.
- package/build/cjs/index.d.ts +525 -4
- package/build/cjs/index.js +211 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +203 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +507 -5
- package/build/cjs/meta.js +182 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +525 -4
- package/build/es/index.mjs +208 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +200 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +507 -5
- package/build/es/meta.mjs +179 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +16 -4
- package/build/internal/cjs/index.js +211 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +536 -5
- package/build/internal/cjs/index.typings.js +203 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +507 -5
- package/build/internal/cjs/meta.js +182 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +16 -4
- package/build/internal/es/index.mjs +208 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +536 -5
- package/build/internal/es/index.typings.mjs +200 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +507 -5
- package/build/internal/es/meta.mjs +179 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1007,6 +1007,8 @@ interface GenerateContentRequest {
|
|
|
1007
1007
|
safetySettings?: SafetySetting[];
|
|
1008
1008
|
/** The generation configuration for the response. */
|
|
1009
1009
|
generationConfig?: GenerationConfig;
|
|
1010
|
+
/** Tool configuration for any Tool specified in the request. */
|
|
1011
|
+
toolConfig?: ToolConfig;
|
|
1010
1012
|
/** If present, describes the fine-tuning model that will be called instead of generic one. */
|
|
1011
1013
|
fineTuningSpec?: FineTuningSpec;
|
|
1012
1014
|
}
|
|
@@ -1191,17 +1193,17 @@ interface GoogleproxyV1Tool {
|
|
|
1191
1193
|
/** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
|
|
1192
1194
|
googleSearch?: GoogleSearch;
|
|
1193
1195
|
}
|
|
1194
|
-
declare enum
|
|
1196
|
+
declare enum DynamicRetrievalConfigMode {
|
|
1195
1197
|
/** Always trigger retrieval. */
|
|
1196
1198
|
MODE_UNSPECIFIED = "MODE_UNSPECIFIED",
|
|
1197
1199
|
/** Run retrieval only when system decides it is necessary. */
|
|
1198
1200
|
MODE_DYNAMIC = "MODE_DYNAMIC"
|
|
1199
1201
|
}
|
|
1200
1202
|
/** @enumType */
|
|
1201
|
-
type
|
|
1203
|
+
type DynamicRetrievalConfigModeWithLiterals = DynamicRetrievalConfigMode | 'MODE_UNSPECIFIED' | 'MODE_DYNAMIC';
|
|
1202
1204
|
interface DynamicRetrievalConfig {
|
|
1203
1205
|
/** The mode of the predictor to be used in dynamic retrieval. */
|
|
1204
|
-
mode?:
|
|
1206
|
+
mode?: DynamicRetrievalConfigModeWithLiterals;
|
|
1205
1207
|
/** The threshold to be used in dynamic retrieval. If not set, a system default value is used. */
|
|
1206
1208
|
dynamicThreshold?: string | null;
|
|
1207
1209
|
}
|
|
@@ -1373,6 +1375,40 @@ declare enum Modality {
|
|
|
1373
1375
|
}
|
|
1374
1376
|
/** @enumType */
|
|
1375
1377
|
type ModalityWithLiterals = Modality | 'UNKNOWN_MODALITY' | 'TEXT' | 'IMAGE' | 'AUDIO';
|
|
1378
|
+
interface ToolConfig {
|
|
1379
|
+
/** Function calling config. */
|
|
1380
|
+
functionCallingConfig?: FunctionCallingConfig;
|
|
1381
|
+
}
|
|
1382
|
+
interface FunctionCallingConfig {
|
|
1383
|
+
/** Specifies the mode in which function calling should execute. If unspecified, the default value will be set to AUTO. */
|
|
1384
|
+
mode?: ModeWithLiterals;
|
|
1385
|
+
/**
|
|
1386
|
+
* A set of function names that, when provided, limits the functions the model will call.
|
|
1387
|
+
* This should only be set when the Mode is ANY or VALIDATED. Function names should match [FunctionDeclaration.name]. When set, model will predict a function call from only allowed function names.
|
|
1388
|
+
* @maxLength 64
|
|
1389
|
+
* @maxSize 100
|
|
1390
|
+
*/
|
|
1391
|
+
allowedFunctionNames?: string[];
|
|
1392
|
+
}
|
|
1393
|
+
declare enum Mode {
|
|
1394
|
+
UNKNOWN = "UNKNOWN",
|
|
1395
|
+
/** Default model behavior, model decides to predict either a function call or a natural language response. */
|
|
1396
|
+
AUTO = "AUTO",
|
|
1397
|
+
/**
|
|
1398
|
+
* Model is constrained to always predicting a function call only. If "allowedFunctionNames" are set, the predicted function call will be limited to any one of "allowedFunctionNames",
|
|
1399
|
+
* else the predicted function call will be any one of the provided "functionDeclarations".
|
|
1400
|
+
*/
|
|
1401
|
+
ANY = "ANY",
|
|
1402
|
+
/** Model will not predict any function call. Model behavior is same as when not passing any function declarations. */
|
|
1403
|
+
NONE = "NONE",
|
|
1404
|
+
/**
|
|
1405
|
+
* Model decides to predict either a function call or a natural language response, but will validate function calls with constrained decoding. If "allowedFunctionNames" are set, the predicted function call will be
|
|
1406
|
+
* limited to any one of "allowedFunctionNames", else the predicted function call will be any one of the provided "functionDeclarations".
|
|
1407
|
+
*/
|
|
1408
|
+
VALIDATED = "VALIDATED"
|
|
1409
|
+
}
|
|
1410
|
+
/** @enumType */
|
|
1411
|
+
type ModeWithLiterals = Mode | 'UNKNOWN' | 'AUTO' | 'ANY' | 'NONE' | 'VALIDATED';
|
|
1376
1412
|
interface FineTuningSpec {
|
|
1377
1413
|
/**
|
|
1378
1414
|
* Endpoint ID of the fine-tuning model to use.
|
|
@@ -2573,6 +2609,8 @@ interface V1ToolUse {
|
|
|
2573
2609
|
name?: string | null;
|
|
2574
2610
|
/** Tool use input */
|
|
2575
2611
|
input?: Record<string, any> | null;
|
|
2612
|
+
/** Optional: enable tool use caching */
|
|
2613
|
+
cacheControl?: V1CacheControl;
|
|
2576
2614
|
}
|
|
2577
2615
|
interface V1ToolResult {
|
|
2578
2616
|
/**
|
|
@@ -8500,6 +8538,469 @@ interface ResponsesOutputTokensDetails {
|
|
|
8500
8538
|
/** Cached tokens present in the prompt. */
|
|
8501
8539
|
reasoningTokens?: number | null;
|
|
8502
8540
|
}
|
|
8541
|
+
interface GenerateTextByPromptObjectRequest {
|
|
8542
|
+
/** Prompt object that describes the text generation request. */
|
|
8543
|
+
prompt?: Prompt;
|
|
8544
|
+
/** Key-value pairs that will be used to substitute templated parameters in the prompt. */
|
|
8545
|
+
params?: Record<string, string>;
|
|
8546
|
+
/** Contains additional information for the request, such as interaction ID and additional tags (comma-separated string). */
|
|
8547
|
+
userRequestInfo?: UserRequestInfo;
|
|
8548
|
+
/** Fallback properties for the request. */
|
|
8549
|
+
fallbackProperties?: FallbackProperties;
|
|
8550
|
+
/** Key-value pairs that will be used to overwrite dynamic properties in the prompt. */
|
|
8551
|
+
dynamicProperties?: Record<string, string>;
|
|
8552
|
+
/** Dynamic request configuration containing tools and other dynamic properties. */
|
|
8553
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
8554
|
+
/**
|
|
8555
|
+
* If specified, the response will be asynchronously sent to this topic via event.
|
|
8556
|
+
* This field is ignored for streaming requests.
|
|
8557
|
+
* @maxLength 1000
|
|
8558
|
+
*/
|
|
8559
|
+
asyncResultTopic?: string | null;
|
|
8560
|
+
}
|
|
8561
|
+
interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
|
|
8562
|
+
/** Azure OpenAI chat completion chunk. */
|
|
8563
|
+
azureChatCompletionChunk?: ChatCompletionChunk;
|
|
8564
|
+
/** OpenAI chat completion chunk. */
|
|
8565
|
+
openaiChatCompletionChunk?: V1ChatCompletionChunk;
|
|
8566
|
+
/** Anthropic (via Google proxy) chat completion chunk. */
|
|
8567
|
+
googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
|
|
8568
|
+
/** Google Gemini GenerateContentResponse chunk. */
|
|
8569
|
+
googleGeminiStreamChunk?: GenerateContentResponse;
|
|
8570
|
+
/** Anthropic (via Amazon proxy) chat completion chunk. */
|
|
8571
|
+
amazonAnthropicStreamChunk?: AnthropicStreamChunk;
|
|
8572
|
+
/** Native Anthropic API proxy stream chunk. */
|
|
8573
|
+
anthropicStreamChunk?: V1AnthropicStreamChunk;
|
|
8574
|
+
/**
|
|
8575
|
+
* Extracted text content from the chunk.
|
|
8576
|
+
* @maxLength 100
|
|
8577
|
+
*/
|
|
8578
|
+
content?: string | null;
|
|
8579
|
+
/**
|
|
8580
|
+
* Unique interaction identifier, generated during the generation request.
|
|
8581
|
+
* @format GUID
|
|
8582
|
+
*/
|
|
8583
|
+
predictionId?: string;
|
|
8584
|
+
}
|
|
8585
|
+
/** @oneof */
|
|
8586
|
+
interface GeneratedTextChunkModelChunkOneOf {
|
|
8587
|
+
/** Azure OpenAI chat completion chunk. */
|
|
8588
|
+
azureChatCompletionChunk?: ChatCompletionChunk;
|
|
8589
|
+
/** OpenAI chat completion chunk. */
|
|
8590
|
+
openaiChatCompletionChunk?: V1ChatCompletionChunk;
|
|
8591
|
+
/** Anthropic (via Google proxy) chat completion chunk. */
|
|
8592
|
+
googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
|
|
8593
|
+
/** Google Gemini GenerateContentResponse chunk. */
|
|
8594
|
+
googleGeminiStreamChunk?: GenerateContentResponse;
|
|
8595
|
+
/** Anthropic (via Amazon proxy) chat completion chunk. */
|
|
8596
|
+
amazonAnthropicStreamChunk?: AnthropicStreamChunk;
|
|
8597
|
+
/** Native Anthropic API proxy stream chunk. */
|
|
8598
|
+
anthropicStreamChunk?: V1AnthropicStreamChunk;
|
|
8599
|
+
}
|
|
8600
|
+
interface ChatCompletionChunk {
|
|
8601
|
+
/**
|
|
8602
|
+
* A unique identifier for the chat completion. Each chunk has the same ID.
|
|
8603
|
+
* @maxLength 100
|
|
8604
|
+
*/
|
|
8605
|
+
responseId?: string | null;
|
|
8606
|
+
/**
|
|
8607
|
+
* A list of chat completion choices. Can contain more than one elements if n is greater than 1.
|
|
8608
|
+
* Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
|
|
8609
|
+
*/
|
|
8610
|
+
choices?: ChunkChoice[];
|
|
8611
|
+
/**
|
|
8612
|
+
* The Unix timestamp (in seconds) of when the chat completion was created.
|
|
8613
|
+
* Each chunk has the same timestamp.
|
|
8614
|
+
*/
|
|
8615
|
+
created?: number | null;
|
|
8616
|
+
/** Model that produced the completion. */
|
|
8617
|
+
model?: V1ModelWithLiterals;
|
|
8618
|
+
/**
|
|
8619
|
+
* This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
|
|
8620
|
+
* seed request parameter to understand when backend changes have been made that might impact determinism.
|
|
8621
|
+
* @maxLength 10000
|
|
8622
|
+
*/
|
|
8623
|
+
systemFingerprint?: string | null;
|
|
8624
|
+
/**
|
|
8625
|
+
* The object type, which is always chat.completion.chunk.
|
|
8626
|
+
* @maxLength 100
|
|
8627
|
+
*/
|
|
8628
|
+
object?: string | null;
|
|
8629
|
+
/**
|
|
8630
|
+
* An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
|
|
8631
|
+
* When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
|
|
8632
|
+
*/
|
|
8633
|
+
usage?: CreateChatCompletionResponseTokenUsage;
|
|
8634
|
+
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
8635
|
+
microcentsSpent?: string | null;
|
|
8636
|
+
}
|
|
8637
|
+
interface ChunkDelta {
|
|
8638
|
+
/**
|
|
8639
|
+
* The contents of the chunk message.
|
|
8640
|
+
* @maxLength 100
|
|
8641
|
+
*/
|
|
8642
|
+
content?: string | null;
|
|
8643
|
+
/** The role of the author of this message. */
|
|
8644
|
+
role?: ChatCompletionMessageMessageRoleWithLiterals;
|
|
8645
|
+
/**
|
|
8646
|
+
* Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
|
|
8647
|
+
* @maxSize 100
|
|
8648
|
+
*/
|
|
8649
|
+
toolCalls?: ToolCall[];
|
|
8650
|
+
}
|
|
8651
|
+
interface ChunkChoice {
|
|
8652
|
+
/** A chat completion delta generated by streamed model responses */
|
|
8653
|
+
delta?: ChunkDelta;
|
|
8654
|
+
/**
|
|
8655
|
+
* The reason the model stopped generating tokens. This will be
|
|
8656
|
+
* "stop" if the model hit a natural stop point or a provided stop sequence,
|
|
8657
|
+
* "length" if the maximum number of tokens specified in the request was reached,
|
|
8658
|
+
* "content_filter" if content was omitted due to a flag from our content filters,
|
|
8659
|
+
* "tool_calls" if the model called a tool
|
|
8660
|
+
* @maxLength 100
|
|
8661
|
+
*/
|
|
8662
|
+
finishReason?: string | null;
|
|
8663
|
+
/** The index of the choice in the list of choices. */
|
|
8664
|
+
index?: number | null;
|
|
8665
|
+
}
|
|
8666
|
+
interface V1ChatCompletionChunk {
|
|
8667
|
+
/**
|
|
8668
|
+
* A unique identifier for the chat completion. Each chunk has the same ID.
|
|
8669
|
+
* @maxLength 100
|
|
8670
|
+
*/
|
|
8671
|
+
responseId?: string | null;
|
|
8672
|
+
/**
|
|
8673
|
+
* A list of chat completion choices. Can contain more than one elements if n is greater than 1.
|
|
8674
|
+
* Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
|
|
8675
|
+
*/
|
|
8676
|
+
choices?: ChatCompletionChunkChunkChoice[];
|
|
8677
|
+
/**
|
|
8678
|
+
* The Unix timestamp (in seconds) of when the chat completion was created.
|
|
8679
|
+
* Each chunk has the same timestamp.
|
|
8680
|
+
*/
|
|
8681
|
+
created?: number | null;
|
|
8682
|
+
/** Model that produced the completion. */
|
|
8683
|
+
model?: OpenaiproxyV1ModelWithLiterals;
|
|
8684
|
+
/**
|
|
8685
|
+
* This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
|
|
8686
|
+
* seed request parameter to understand when backend changes have been made that might impact determinism.
|
|
8687
|
+
* @maxLength 10000
|
|
8688
|
+
*/
|
|
8689
|
+
systemFingerprint?: string | null;
|
|
8690
|
+
/**
|
|
8691
|
+
* The object type, which is always chat.completion.chunk.
|
|
8692
|
+
* @maxLength 100
|
|
8693
|
+
*/
|
|
8694
|
+
object?: string | null;
|
|
8695
|
+
/**
|
|
8696
|
+
* An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
|
|
8697
|
+
* When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
|
|
8698
|
+
*/
|
|
8699
|
+
usage?: OpenaiproxyV1CreateChatCompletionResponseTokenUsage;
|
|
8700
|
+
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
8701
|
+
microcentsSpent?: string | null;
|
|
8702
|
+
}
|
|
8703
|
+
interface ChunkChoiceChunkDelta {
|
|
8704
|
+
/**
|
|
8705
|
+
* The contents of the chunk message.
|
|
8706
|
+
* @maxLength 1000
|
|
8707
|
+
*/
|
|
8708
|
+
content?: string | null;
|
|
8709
|
+
/** The role of the author of this message. */
|
|
8710
|
+
role?: OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals;
|
|
8711
|
+
/**
|
|
8712
|
+
* Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
|
|
8713
|
+
* @maxSize 100
|
|
8714
|
+
*/
|
|
8715
|
+
toolCalls?: ChatCompletionMessageToolCall[];
|
|
8716
|
+
}
|
|
8717
|
+
interface ChatCompletionChunkChunkChoice {
|
|
8718
|
+
/** A chat completion delta generated by streamed model responses */
|
|
8719
|
+
delta?: ChunkChoiceChunkDelta;
|
|
8720
|
+
/**
|
|
8721
|
+
* The reason the model stopped generating tokens. This will be
|
|
8722
|
+
* "stop" if the model hit a natural stop point or a provided stop sequence,
|
|
8723
|
+
* "length" if the maximum number of tokens specified in the request was reached,
|
|
8724
|
+
* "content_filter" if content was omitted due to a flag from our content filters,
|
|
8725
|
+
* "tool_calls" if the model called a tool
|
|
8726
|
+
* @maxLength 100
|
|
8727
|
+
*/
|
|
8728
|
+
finishReason?: string | null;
|
|
8729
|
+
/** The index of the choice in the list of choices. */
|
|
8730
|
+
index?: number | null;
|
|
8731
|
+
}
|
|
8732
|
+
interface GoogleproxyV1AnthropicStreamChunk extends GoogleproxyV1AnthropicStreamChunkContentOneOf {
|
|
8733
|
+
toolUse?: GoogleproxyV1ToolUse;
|
|
8734
|
+
contentBlockDelta?: GoogleproxyV1ContentBlockDelta;
|
|
8735
|
+
messageDelta?: V1AnthropicStreamChunkMessageDelta;
|
|
8736
|
+
redactedThinking?: GoogleproxyV1RedactedThinking;
|
|
8737
|
+
/**
|
|
8738
|
+
* The unique identifier for the response. The format and length of the ID might change over time.
|
|
8739
|
+
* @maxLength 512
|
|
8740
|
+
*/
|
|
8741
|
+
responseId?: string;
|
|
8742
|
+
/**
|
|
8743
|
+
* The ID for the Anthropic Claude model that made the request.
|
|
8744
|
+
* @maxLength 512
|
|
8745
|
+
*/
|
|
8746
|
+
model?: string;
|
|
8747
|
+
index?: number | null;
|
|
8748
|
+
}
|
|
8749
|
+
/** @oneof */
|
|
8750
|
+
interface GoogleproxyV1AnthropicStreamChunkContentOneOf {
|
|
8751
|
+
toolUse?: GoogleproxyV1ToolUse;
|
|
8752
|
+
contentBlockDelta?: GoogleproxyV1ContentBlockDelta;
|
|
8753
|
+
messageDelta?: V1AnthropicStreamChunkMessageDelta;
|
|
8754
|
+
redactedThinking?: GoogleproxyV1RedactedThinking;
|
|
8755
|
+
}
|
|
8756
|
+
interface GoogleproxyV1ContentBlockDelta extends GoogleproxyV1ContentBlockDeltaDeltaOneOf {
|
|
8757
|
+
/** @maxLength 1000000 */
|
|
8758
|
+
text?: string;
|
|
8759
|
+
/** @maxLength 1000000 */
|
|
8760
|
+
partialJson?: string;
|
|
8761
|
+
/** @maxLength 1000000 */
|
|
8762
|
+
thinking?: string;
|
|
8763
|
+
/** @maxLength 1000000 */
|
|
8764
|
+
signature?: string;
|
|
8765
|
+
}
|
|
8766
|
+
/** @oneof */
|
|
8767
|
+
interface GoogleproxyV1ContentBlockDeltaDeltaOneOf {
|
|
8768
|
+
/** @maxLength 1000000 */
|
|
8769
|
+
text?: string;
|
|
8770
|
+
/** @maxLength 1000000 */
|
|
8771
|
+
partialJson?: string;
|
|
8772
|
+
/** @maxLength 1000000 */
|
|
8773
|
+
thinking?: string;
|
|
8774
|
+
/** @maxLength 1000000 */
|
|
8775
|
+
signature?: string;
|
|
8776
|
+
}
|
|
8777
|
+
interface V1AnthropicStreamChunkMessageDelta {
|
|
8778
|
+
/**
|
|
8779
|
+
* The reason why Anthropic Claude stopped generating the response:
|
|
8780
|
+
* `end_turn` – The model reached a natural stopping point.
|
|
8781
|
+
* `max_tokens` – The generated text exceeded the value of the max_tokens input field or exceeded the maximum number of tokens that the model supports.
|
|
8782
|
+
* `stop_sequence` – The model generated one of the stop sequences that you specified in the stop_sequences input field.
|
|
8783
|
+
* @maxLength 512
|
|
8784
|
+
*/
|
|
8785
|
+
stopReason?: string | null;
|
|
8786
|
+
/**
|
|
8787
|
+
* Which custom stop sequence was generated, if any.
|
|
8788
|
+
* @maxLength 512
|
|
8789
|
+
*/
|
|
8790
|
+
stopSequence?: string | null;
|
|
8791
|
+
/** Token usage statistics. */
|
|
8792
|
+
usage?: GoogleproxyV1Usage;
|
|
8793
|
+
microcentsSpent?: string | null;
|
|
8794
|
+
}
|
|
8795
|
+
interface AnthropicStreamChunk extends AnthropicStreamChunkContentOneOf {
|
|
8796
|
+
toolUse?: ToolUse;
|
|
8797
|
+
contentBlockDelta?: ContentBlockDelta;
|
|
8798
|
+
messageDelta?: MessageDelta;
|
|
8799
|
+
redactedThinking?: RedactedThinking;
|
|
8800
|
+
/**
|
|
8801
|
+
* The unique identifier for the response. The format and length of the ID might change over time.
|
|
8802
|
+
* @maxLength 512
|
|
8803
|
+
*/
|
|
8804
|
+
responseId?: string;
|
|
8805
|
+
/**
|
|
8806
|
+
* The ID for the Anthropic Claude model that made the request.
|
|
8807
|
+
* @maxLength 512
|
|
8808
|
+
*/
|
|
8809
|
+
model?: string;
|
|
8810
|
+
index?: number | null;
|
|
8811
|
+
}
|
|
8812
|
+
/** @oneof */
|
|
8813
|
+
interface AnthropicStreamChunkContentOneOf {
|
|
8814
|
+
toolUse?: ToolUse;
|
|
8815
|
+
contentBlockDelta?: ContentBlockDelta;
|
|
8816
|
+
messageDelta?: MessageDelta;
|
|
8817
|
+
redactedThinking?: RedactedThinking;
|
|
8818
|
+
}
|
|
8819
|
+
interface ContentBlockDelta extends ContentBlockDeltaDeltaOneOf {
|
|
8820
|
+
/** @maxLength 1000000 */
|
|
8821
|
+
text?: string;
|
|
8822
|
+
/** @maxLength 1000000 */
|
|
8823
|
+
partialJson?: string;
|
|
8824
|
+
/** @maxLength 1000000 */
|
|
8825
|
+
thinking?: string;
|
|
8826
|
+
/** @maxLength 1000000 */
|
|
8827
|
+
signature?: string;
|
|
8828
|
+
}
|
|
8829
|
+
/** @oneof */
|
|
8830
|
+
interface ContentBlockDeltaDeltaOneOf {
|
|
8831
|
+
/** @maxLength 1000000 */
|
|
8832
|
+
text?: string;
|
|
8833
|
+
/** @maxLength 1000000 */
|
|
8834
|
+
partialJson?: string;
|
|
8835
|
+
/** @maxLength 1000000 */
|
|
8836
|
+
thinking?: string;
|
|
8837
|
+
/** @maxLength 1000000 */
|
|
8838
|
+
signature?: string;
|
|
8839
|
+
}
|
|
8840
|
+
interface MessageDelta {
|
|
8841
|
+
/**
|
|
8842
|
+
* The reason why Anthropic Claude stopped generating the response:
|
|
8843
|
+
* `end_turn` – The model reached a natural stopping point.
|
|
8844
|
+
* `max_tokens` – The generated text exceeded the value of the max_tokens input field or exceeded the maximum number of tokens that the model supports.
|
|
8845
|
+
* `stop_sequence` – The model generated one of the stop sequences that you specified in the stop_sequences input field.
|
|
8846
|
+
* @maxLength 512
|
|
8847
|
+
*/
|
|
8848
|
+
stopReason?: string | null;
|
|
8849
|
+
/**
|
|
8850
|
+
* Which custom stop sequence was generated, if any.
|
|
8851
|
+
* @maxLength 512
|
|
8852
|
+
*/
|
|
8853
|
+
stopSequence?: string | null;
|
|
8854
|
+
/** Token usage statistics. */
|
|
8855
|
+
usage?: Usage;
|
|
8856
|
+
microcentsSpent?: string | null;
|
|
8857
|
+
}
|
|
8858
|
+
interface V1AnthropicStreamChunk extends V1AnthropicStreamChunkContentOneOf {
|
|
8859
|
+
/** Announcement of a model-initiated tool call (client tools or Anthropic-run tools) */
|
|
8860
|
+
toolUse?: V1ToolUse;
|
|
8861
|
+
/**
|
|
8862
|
+
* Start of a server tool block at `index` (e.g., "web_search", "web_fetch", "code_execution").
|
|
8863
|
+
* The tool input will stream via ContentBlockDelta.partial_json for the SAME `index`,
|
|
8864
|
+
* and is finalized by ContentBlockStop for that `index`.
|
|
8865
|
+
*/
|
|
8866
|
+
serverToolUse?: ServerToolUse;
|
|
8867
|
+
/** Start of a Web Search result block at `index`. Completion is marked by ContentBlockStop. */
|
|
8868
|
+
webSearchToolResult?: WebSearchToolResult;
|
|
8869
|
+
/** Start of a Web Fetch result block at `index`. Completion is marked by ContentBlockStop. */
|
|
8870
|
+
webFetchToolResult?: WebFetchToolResult;
|
|
8871
|
+
/** Start of a Code Execution result block at `index`. Completion is marked by ContentBlockStop. */
|
|
8872
|
+
codeExecutionToolResult?: CodeExecutionToolResult;
|
|
8873
|
+
/**
|
|
8874
|
+
* Incremental data that refines the content block at `index`
|
|
8875
|
+
* (text characters, tool-input JSON fragments, thinking text, or thinking signature).
|
|
8876
|
+
*/
|
|
8877
|
+
contentBlockDelta?: V1ContentBlockDelta;
|
|
8878
|
+
/**
|
|
8879
|
+
* Top-level message updates:
|
|
8880
|
+
* - stop reason / stop sequence (when known),
|
|
8881
|
+
* - cumulative token usage (input, output, cache, server-tool counters),
|
|
8882
|
+
* - optional cost fields (e.g., microcents).
|
|
8883
|
+
*/
|
|
8884
|
+
messageDelta?: AnthropicStreamChunkMessageDelta;
|
|
8885
|
+
/**
|
|
8886
|
+
* Redacted variant of thinking content when Claude’s safety systems redact internal reasoning.
|
|
8887
|
+
* Pass back unchanged in a follow-up request to let Claude continue without losing context.
|
|
8888
|
+
*/
|
|
8889
|
+
redactedThinking?: V1RedactedThinking;
|
|
8890
|
+
/**
|
|
8891
|
+
* The unique identifier for the response. The format and length of the ID might change over time.
|
|
8892
|
+
* @maxLength 512
|
|
8893
|
+
*/
|
|
8894
|
+
responseId?: string;
|
|
8895
|
+
/**
|
|
8896
|
+
* The ID for the Anthropic Claude model that made the request.
|
|
8897
|
+
* @maxLength 512
|
|
8898
|
+
*/
|
|
8899
|
+
model?: string;
|
|
8900
|
+
/**
|
|
8901
|
+
* Index of the content block this chunk refers to (when relevant).
|
|
8902
|
+
* For example, text and tool-input deltas apply to the block at this index.
|
|
8903
|
+
*/
|
|
8904
|
+
index?: number | null;
|
|
8905
|
+
}
|
|
8906
|
+
/** @oneof */
|
|
8907
|
+
interface V1AnthropicStreamChunkContentOneOf {
|
|
8908
|
+
/** Announcement of a model-initiated tool call (client tools or Anthropic-run tools) */
|
|
8909
|
+
toolUse?: V1ToolUse;
|
|
8910
|
+
/**
|
|
8911
|
+
* Start of a server tool block at `index` (e.g., "web_search", "web_fetch", "code_execution").
|
|
8912
|
+
* The tool input will stream via ContentBlockDelta.partial_json for the SAME `index`,
|
|
8913
|
+
* and is finalized by ContentBlockStop for that `index`.
|
|
8914
|
+
*/
|
|
8915
|
+
serverToolUse?: ServerToolUse;
|
|
8916
|
+
/** Start of a Web Search result block at `index`. Completion is marked by ContentBlockStop. */
|
|
8917
|
+
webSearchToolResult?: WebSearchToolResult;
|
|
8918
|
+
/** Start of a Web Fetch result block at `index`. Completion is marked by ContentBlockStop. */
|
|
8919
|
+
webFetchToolResult?: WebFetchToolResult;
|
|
8920
|
+
/** Start of a Code Execution result block at `index`. Completion is marked by ContentBlockStop. */
|
|
8921
|
+
codeExecutionToolResult?: CodeExecutionToolResult;
|
|
8922
|
+
/**
|
|
8923
|
+
* Incremental data that refines the content block at `index`
|
|
8924
|
+
* (text characters, tool-input JSON fragments, thinking text, or thinking signature).
|
|
8925
|
+
*/
|
|
8926
|
+
contentBlockDelta?: V1ContentBlockDelta;
|
|
8927
|
+
/**
|
|
8928
|
+
* Top-level message updates:
|
|
8929
|
+
* - stop reason / stop sequence (when known),
|
|
8930
|
+
* - cumulative token usage (input, output, cache, server-tool counters),
|
|
8931
|
+
* - optional cost fields (e.g., microcents).
|
|
8932
|
+
*/
|
|
8933
|
+
messageDelta?: AnthropicStreamChunkMessageDelta;
|
|
8934
|
+
/**
|
|
8935
|
+
* Redacted variant of thinking content when Claude’s safety systems redact internal reasoning.
|
|
8936
|
+
* Pass back unchanged in a follow-up request to let Claude continue without losing context.
|
|
8937
|
+
*/
|
|
8938
|
+
redactedThinking?: V1RedactedThinking;
|
|
8939
|
+
}
|
|
8940
|
+
interface V1ContentBlockDelta extends V1ContentBlockDeltaDeltaOneOf {
|
|
8941
|
+
/**
|
|
8942
|
+
* Characters belonging to a text content block.
|
|
8943
|
+
* @maxLength 1000000
|
|
8944
|
+
*/
|
|
8945
|
+
text?: string;
|
|
8946
|
+
/**
|
|
8947
|
+
* A fragment of the tool `input` JSON (as a string) for a tool_use/server_tool_use block.
|
|
8948
|
+
* Multiple fragments across chunks together represent the final JSON value.
|
|
8949
|
+
* @maxLength 1000000
|
|
8950
|
+
*/
|
|
8951
|
+
partialJson?: string;
|
|
8952
|
+
/**
|
|
8953
|
+
* Portion of the model’s extended-thinking content for a thinking block.
|
|
8954
|
+
* @maxLength 1000000
|
|
8955
|
+
*/
|
|
8956
|
+
thinking?: string;
|
|
8957
|
+
/**
|
|
8958
|
+
* Signature data associated with a thinking block (emitted immediately before that block completes).
|
|
8959
|
+
* @maxLength 1000000
|
|
8960
|
+
*/
|
|
8961
|
+
signature?: string;
|
|
8962
|
+
}
|
|
8963
|
+
/** @oneof */
|
|
8964
|
+
interface V1ContentBlockDeltaDeltaOneOf {
|
|
8965
|
+
/**
|
|
8966
|
+
* Characters belonging to a text content block.
|
|
8967
|
+
* @maxLength 1000000
|
|
8968
|
+
*/
|
|
8969
|
+
text?: string;
|
|
8970
|
+
/**
|
|
8971
|
+
* A fragment of the tool `input` JSON (as a string) for a tool_use/server_tool_use block.
|
|
8972
|
+
* Multiple fragments across chunks together represent the final JSON value.
|
|
8973
|
+
* @maxLength 1000000
|
|
8974
|
+
*/
|
|
8975
|
+
partialJson?: string;
|
|
8976
|
+
/**
|
|
8977
|
+
* Portion of the model’s extended-thinking content for a thinking block.
|
|
8978
|
+
* @maxLength 1000000
|
|
8979
|
+
*/
|
|
8980
|
+
thinking?: string;
|
|
8981
|
+
/**
|
|
8982
|
+
* Signature data associated with a thinking block (emitted immediately before that block completes).
|
|
8983
|
+
* @maxLength 1000000
|
|
8984
|
+
*/
|
|
8985
|
+
signature?: string;
|
|
8986
|
+
}
|
|
8987
|
+
interface AnthropicStreamChunkMessageDelta {
|
|
8988
|
+
/**
|
|
8989
|
+
* Why generation concluded for this assistant message, when applicable:
|
|
8990
|
+
* "end_turn" | "max_tokens" | "stop_sequence" | "tool_use" | "pause_turn" | "refusal".
|
|
8991
|
+
* @maxLength 512
|
|
8992
|
+
*/
|
|
8993
|
+
stopReason?: string | null;
|
|
8994
|
+
/**
|
|
8995
|
+
* The specific custom stop sequence that was produced, if any.
|
|
8996
|
+
* @maxLength 512
|
|
8997
|
+
*/
|
|
8998
|
+
stopSequence?: string | null;
|
|
8999
|
+
/** Cumulative token usage at this point in the stream. */
|
|
9000
|
+
usage?: V1Usage;
|
|
9001
|
+
/** Cost of the request so far, in microcents. */
|
|
9002
|
+
microcentsSpent?: string | null;
|
|
9003
|
+
}
|
|
8503
9004
|
interface GenerateContentByPromptObjectOptions {
|
|
8504
9005
|
/** Prompt object that describes the content generation request. */
|
|
8505
9006
|
prompt?: Prompt;
|
|
@@ -8516,5 +9017,25 @@ interface GenerateContentByPromptObjectOptions {
|
|
|
8516
9017
|
/** Dynamic request configuration containing tools and other dynamic properties. */
|
|
8517
9018
|
dynamicRequestConfig?: DynamicRequestConfig;
|
|
8518
9019
|
}
|
|
9020
|
+
interface GenerateTextByPromptObjectStreamedOptions {
|
|
9021
|
+
/** Prompt object that describes the text generation request. */
|
|
9022
|
+
prompt?: Prompt;
|
|
9023
|
+
/** Key-value pairs that will be used to substitute templated parameters in the prompt. */
|
|
9024
|
+
params?: Record<string, string>;
|
|
9025
|
+
/** Contains additional information for the request, such as interaction ID and additional tags (comma-separated string). */
|
|
9026
|
+
userRequestInfo?: UserRequestInfo;
|
|
9027
|
+
/** Fallback properties for the request. */
|
|
9028
|
+
fallbackProperties?: FallbackProperties;
|
|
9029
|
+
/** Key-value pairs that will be used to overwrite dynamic properties in the prompt. */
|
|
9030
|
+
dynamicProperties?: Record<string, string>;
|
|
9031
|
+
/** Dynamic request configuration containing tools and other dynamic properties. */
|
|
9032
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
9033
|
+
/**
|
|
9034
|
+
* If specified, the response will be asynchronously sent to this topic via event.
|
|
9035
|
+
* This field is ignored for streaming requests.
|
|
9036
|
+
* @maxLength 1000
|
|
9037
|
+
*/
|
|
9038
|
+
asyncResultTopic?: string | null;
|
|
9039
|
+
}
|
|
8519
9040
|
|
|
8520
|
-
export { type Action, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AsyncGenerationConfig, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CompletionTokenDetails, type ComputerUseTool, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CustomTool, type DocumentContent, type DocumentSource, type DynamicRequestConfig, type DynamicRetrievalConfig, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, type Example, type ExecutableCode, type FallbackPromptConfig, type FallbackProperties, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type FluxDevControlnet, type FluxPulid, type FrameImage, type FunctionCall, type FunctionDeclaration, type FunctionResponse, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedContent, type GeneratedVideo, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationThinkingConfig, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, ImageCoreModel, type ImageCoreModelWithLiterals, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelWithLiterals, type ImageObject, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InputSchema, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, MediaType, type MediaTypeWithLiterals, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metadata, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelWithLiterals, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type PageLocationCitation, type Parameters, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, type PredictParameters, type Prediction, type Prompt, type PromptModelRequestOneOf, type PromptProxy, type PromptTokenDetails, type PublicationDate, type RedactedThinking, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type ResultObject, type RetrievalMetadata, type RetrievedContext, Role, type RoleWithLiterals, type SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type ServerToolUse, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, StylePreset, type StylePresetWithLiterals, type SystemInstruction, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextInstance, type TextPrompt, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TokenCount, type TokenMetadata, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolUse, type ToolUseContent, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1Citation, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1FineTuningSpec, type V1FluxPulid, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolKindOneOf, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, VideoModel, type VideoModelWithLiterals, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation };
|
|
9041
|
+
export { type Action, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type AsyncGenerationConfig, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CompletionTokenDetails, type ComputerUseTool, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockDelta, type ContentBlockDeltaDeltaOneOf, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CustomTool, type DocumentContent, type DocumentSource, type DynamicRequestConfig, type DynamicRetrievalConfig, DynamicRetrievalConfigMode, type DynamicRetrievalConfigModeWithLiterals, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, type Example, type ExecutableCode, type FallbackPromptConfig, type FallbackProperties, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type FluxDevControlnet, type FluxPulid, type FrameImage, type FunctionCall, type FunctionCallingConfig, type FunctionDeclaration, type FunctionResponse, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateTextByPromptObjectRequest, type GenerateTextByPromptObjectStreamedOptions, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedContent, type GeneratedTextChunk, type GeneratedTextChunkModelChunkOneOf, type GeneratedVideo, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationThinkingConfig, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1AnthropicStreamChunk, type GoogleproxyV1AnthropicStreamChunkContentOneOf, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockDelta, type GoogleproxyV1ContentBlockDeltaDeltaOneOf, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, ImageCoreModel, type ImageCoreModelWithLiterals, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelWithLiterals, type ImageObject, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InputSchema, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, MediaType, type MediaTypeWithLiterals, type MessageDelta, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metadata, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelWithLiterals, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type PageLocationCitation, type Parameters, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, type PredictParameters, type Prediction, type Prompt, type PromptModelRequestOneOf, type PromptProxy, type PromptTokenDetails, type PublicationDate, type RedactedThinking, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type ResultObject, type RetrievalMetadata, type RetrievedContext, Role, type RoleWithLiterals, type SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type ServerToolUse, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, StylePreset, type StylePresetWithLiterals, type SystemInstruction, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextInstance, type TextPrompt, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TokenCount, type TokenMetadata, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfig, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolUse, type ToolUseContent, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1AnthropicStreamChunk, type V1AnthropicStreamChunkContentOneOf, type V1AnthropicStreamChunkMessageDelta, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionChunk, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1Citation, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockDelta, type V1ContentBlockDeltaDeltaOneOf, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1FineTuningSpec, type V1FluxPulid, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolKindOneOf, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, VideoModel, type VideoModelWithLiterals, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation };
|