@wix/auto_sdk_ai-gateway_prompts 1.0.0 → 1.0.1

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 (37) hide show
  1. package/build/cjs/index.d.ts +484 -1
  2. package/build/cjs/index.js +196 -3
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +188 -3
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +466 -2
  8. package/build/cjs/meta.js +167 -3
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +484 -1
  11. package/build/es/index.mjs +194 -2
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +186 -2
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +466 -2
  17. package/build/es/meta.mjs +165 -2
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +15 -3
  20. package/build/internal/cjs/index.js +196 -3
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +494 -1
  23. package/build/internal/cjs/index.typings.js +188 -3
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +466 -2
  26. package/build/internal/cjs/meta.js +167 -3
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +15 -3
  29. package/build/internal/es/index.mjs +194 -2
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +494 -1
  32. package/build/internal/es/index.typings.mjs +186 -2
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +466 -2
  35. package/build/internal/es/meta.mjs +165 -2
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { GenerateContentByPromptObjectRequest as GenerateContentByPromptObjectRequest$1, GenerateContentByPromptObjectResponse as GenerateContentByPromptObjectResponse$1 } from './index.typings.js';
1
+ import { GenerateContentByPromptObjectRequest as GenerateContentByPromptObjectRequest$1, GenerateContentByPromptObjectResponse as GenerateContentByPromptObjectResponse$1, GenerateTextByPromptObjectRequest as GenerateTextByPromptObjectRequest$1, GeneratedTextChunk as GeneratedTextChunk$1 } from './index.typings.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -8503,6 +8503,469 @@ interface ResponsesOutputTokensDetails {
8503
8503
  /** Cached tokens present in the prompt. */
8504
8504
  reasoningTokens?: number | null;
8505
8505
  }
8506
+ interface GenerateTextByPromptObjectRequest {
8507
+ /** Prompt object that describes the text generation request. */
8508
+ prompt?: Prompt;
8509
+ /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
8510
+ params?: Record<string, string>;
8511
+ /** Contains additional information for the request, such as interaction ID and additional tags (comma-separated string). */
8512
+ userRequestInfo?: UserRequestInfo;
8513
+ /** Fallback properties for the request. */
8514
+ fallbackProperties?: FallbackProperties;
8515
+ /** Key-value pairs that will be used to overwrite dynamic properties in the prompt. */
8516
+ dynamicProperties?: Record<string, string>;
8517
+ /** Dynamic request configuration containing tools and other dynamic properties. */
8518
+ dynamicRequestConfig?: DynamicRequestConfig;
8519
+ /**
8520
+ * If specified, the response will be asynchronously sent to this topic via event.
8521
+ * This field is ignored for streaming requests.
8522
+ * @maxLength 1000
8523
+ */
8524
+ asyncResultTopic?: string | null;
8525
+ }
8526
+ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
8527
+ /** Azure OpenAI chat completion chunk. */
8528
+ azureChatCompletionChunk?: ChatCompletionChunk;
8529
+ /** OpenAI chat completion chunk. */
8530
+ openaiChatCompletionChunk?: V1ChatCompletionChunk;
8531
+ /** Anthropic (via Google proxy) chat completion chunk. */
8532
+ googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
8533
+ /** Google Gemini GenerateContentResponse chunk. */
8534
+ googleGeminiStreamChunk?: GenerateContentResponse;
8535
+ /** Anthropic (via Amazon proxy) chat completion chunk. */
8536
+ amazonAnthropicStreamChunk?: AnthropicStreamChunk;
8537
+ /** Native Anthropic API proxy stream chunk. */
8538
+ anthropicStreamChunk?: V1AnthropicStreamChunk;
8539
+ /**
8540
+ * Extracted text content from the chunk.
8541
+ * @maxLength 100
8542
+ */
8543
+ content?: string | null;
8544
+ /**
8545
+ * Unique interaction identifier, generated during the generation request.
8546
+ * @format GUID
8547
+ */
8548
+ predictionId?: string;
8549
+ }
8550
+ /** @oneof */
8551
+ interface GeneratedTextChunkModelChunkOneOf {
8552
+ /** Azure OpenAI chat completion chunk. */
8553
+ azureChatCompletionChunk?: ChatCompletionChunk;
8554
+ /** OpenAI chat completion chunk. */
8555
+ openaiChatCompletionChunk?: V1ChatCompletionChunk;
8556
+ /** Anthropic (via Google proxy) chat completion chunk. */
8557
+ googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
8558
+ /** Google Gemini GenerateContentResponse chunk. */
8559
+ googleGeminiStreamChunk?: GenerateContentResponse;
8560
+ /** Anthropic (via Amazon proxy) chat completion chunk. */
8561
+ amazonAnthropicStreamChunk?: AnthropicStreamChunk;
8562
+ /** Native Anthropic API proxy stream chunk. */
8563
+ anthropicStreamChunk?: V1AnthropicStreamChunk;
8564
+ }
8565
+ interface ChatCompletionChunk {
8566
+ /**
8567
+ * A unique identifier for the chat completion. Each chunk has the same ID.
8568
+ * @maxLength 100
8569
+ */
8570
+ responseId?: string | null;
8571
+ /**
8572
+ * A list of chat completion choices. Can contain more than one elements if n is greater than 1.
8573
+ * Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
8574
+ */
8575
+ choices?: ChunkChoice[];
8576
+ /**
8577
+ * The Unix timestamp (in seconds) of when the chat completion was created.
8578
+ * Each chunk has the same timestamp.
8579
+ */
8580
+ created?: number | null;
8581
+ /** Model that produced the completion. */
8582
+ model?: V1ModelWithLiterals;
8583
+ /**
8584
+ * This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
8585
+ * seed request parameter to understand when backend changes have been made that might impact determinism.
8586
+ * @maxLength 10000
8587
+ */
8588
+ systemFingerprint?: string | null;
8589
+ /**
8590
+ * The object type, which is always chat.completion.chunk.
8591
+ * @maxLength 100
8592
+ */
8593
+ object?: string | null;
8594
+ /**
8595
+ * An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
8596
+ * When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
8597
+ */
8598
+ usage?: CreateChatCompletionResponseTokenUsage;
8599
+ /** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
8600
+ microcentsSpent?: string | null;
8601
+ }
8602
+ interface ChunkDelta {
8603
+ /**
8604
+ * The contents of the chunk message.
8605
+ * @maxLength 100
8606
+ */
8607
+ content?: string | null;
8608
+ /** The role of the author of this message. */
8609
+ role?: ChatCompletionMessageMessageRoleWithLiterals;
8610
+ /**
8611
+ * Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
8612
+ * @maxSize 100
8613
+ */
8614
+ toolCalls?: ToolCall[];
8615
+ }
8616
+ interface ChunkChoice {
8617
+ /** A chat completion delta generated by streamed model responses */
8618
+ delta?: ChunkDelta;
8619
+ /**
8620
+ * The reason the model stopped generating tokens. This will be
8621
+ * "stop" if the model hit a natural stop point or a provided stop sequence,
8622
+ * "length" if the maximum number of tokens specified in the request was reached,
8623
+ * "content_filter" if content was omitted due to a flag from our content filters,
8624
+ * "tool_calls" if the model called a tool
8625
+ * @maxLength 100
8626
+ */
8627
+ finishReason?: string | null;
8628
+ /** The index of the choice in the list of choices. */
8629
+ index?: number | null;
8630
+ }
8631
+ interface V1ChatCompletionChunk {
8632
+ /**
8633
+ * A unique identifier for the chat completion. Each chunk has the same ID.
8634
+ * @maxLength 100
8635
+ */
8636
+ responseId?: string | null;
8637
+ /**
8638
+ * A list of chat completion choices. Can contain more than one elements if n is greater than 1.
8639
+ * Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
8640
+ */
8641
+ choices?: ChatCompletionChunkChunkChoice[];
8642
+ /**
8643
+ * The Unix timestamp (in seconds) of when the chat completion was created.
8644
+ * Each chunk has the same timestamp.
8645
+ */
8646
+ created?: number | null;
8647
+ /** Model that produced the completion. */
8648
+ model?: OpenaiproxyV1ModelWithLiterals;
8649
+ /**
8650
+ * This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
8651
+ * seed request parameter to understand when backend changes have been made that might impact determinism.
8652
+ * @maxLength 10000
8653
+ */
8654
+ systemFingerprint?: string | null;
8655
+ /**
8656
+ * The object type, which is always chat.completion.chunk.
8657
+ * @maxLength 100
8658
+ */
8659
+ object?: string | null;
8660
+ /**
8661
+ * An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
8662
+ * When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
8663
+ */
8664
+ usage?: OpenaiproxyV1CreateChatCompletionResponseTokenUsage;
8665
+ /** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
8666
+ microcentsSpent?: string | null;
8667
+ }
8668
+ interface ChunkChoiceChunkDelta {
8669
+ /**
8670
+ * The contents of the chunk message.
8671
+ * @maxLength 1000
8672
+ */
8673
+ content?: string | null;
8674
+ /** The role of the author of this message. */
8675
+ role?: OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals;
8676
+ /**
8677
+ * Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
8678
+ * @maxSize 100
8679
+ */
8680
+ toolCalls?: ChatCompletionMessageToolCall[];
8681
+ }
8682
+ interface ChatCompletionChunkChunkChoice {
8683
+ /** A chat completion delta generated by streamed model responses */
8684
+ delta?: ChunkChoiceChunkDelta;
8685
+ /**
8686
+ * The reason the model stopped generating tokens. This will be
8687
+ * "stop" if the model hit a natural stop point or a provided stop sequence,
8688
+ * "length" if the maximum number of tokens specified in the request was reached,
8689
+ * "content_filter" if content was omitted due to a flag from our content filters,
8690
+ * "tool_calls" if the model called a tool
8691
+ * @maxLength 100
8692
+ */
8693
+ finishReason?: string | null;
8694
+ /** The index of the choice in the list of choices. */
8695
+ index?: number | null;
8696
+ }
8697
+ interface GoogleproxyV1AnthropicStreamChunk extends GoogleproxyV1AnthropicStreamChunkContentOneOf {
8698
+ toolUse?: GoogleproxyV1ToolUse;
8699
+ contentBlockDelta?: GoogleproxyV1ContentBlockDelta;
8700
+ messageDelta?: V1AnthropicStreamChunkMessageDelta;
8701
+ redactedThinking?: GoogleproxyV1RedactedThinking;
8702
+ /**
8703
+ * The unique identifier for the response. The format and length of the ID might change over time.
8704
+ * @maxLength 512
8705
+ */
8706
+ responseId?: string;
8707
+ /**
8708
+ * The ID for the Anthropic Claude model that made the request.
8709
+ * @maxLength 512
8710
+ */
8711
+ model?: string;
8712
+ index?: number | null;
8713
+ }
8714
+ /** @oneof */
8715
+ interface GoogleproxyV1AnthropicStreamChunkContentOneOf {
8716
+ toolUse?: GoogleproxyV1ToolUse;
8717
+ contentBlockDelta?: GoogleproxyV1ContentBlockDelta;
8718
+ messageDelta?: V1AnthropicStreamChunkMessageDelta;
8719
+ redactedThinking?: GoogleproxyV1RedactedThinking;
8720
+ }
8721
+ interface GoogleproxyV1ContentBlockDelta extends GoogleproxyV1ContentBlockDeltaDeltaOneOf {
8722
+ /** @maxLength 1000000 */
8723
+ text?: string;
8724
+ /** @maxLength 1000000 */
8725
+ partialJson?: string;
8726
+ /** @maxLength 1000000 */
8727
+ thinking?: string;
8728
+ /** @maxLength 1000000 */
8729
+ signature?: string;
8730
+ }
8731
+ /** @oneof */
8732
+ interface GoogleproxyV1ContentBlockDeltaDeltaOneOf {
8733
+ /** @maxLength 1000000 */
8734
+ text?: string;
8735
+ /** @maxLength 1000000 */
8736
+ partialJson?: string;
8737
+ /** @maxLength 1000000 */
8738
+ thinking?: string;
8739
+ /** @maxLength 1000000 */
8740
+ signature?: string;
8741
+ }
8742
+ interface V1AnthropicStreamChunkMessageDelta {
8743
+ /**
8744
+ * The reason why Anthropic Claude stopped generating the response:
8745
+ * `end_turn` – The model reached a natural stopping point.
8746
+ * `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.
8747
+ * `stop_sequence` – The model generated one of the stop sequences that you specified in the stop_sequences input field.
8748
+ * @maxLength 512
8749
+ */
8750
+ stopReason?: string | null;
8751
+ /**
8752
+ * Which custom stop sequence was generated, if any.
8753
+ * @maxLength 512
8754
+ */
8755
+ stopSequence?: string | null;
8756
+ /** Token usage statistics. */
8757
+ usage?: GoogleproxyV1Usage;
8758
+ microcentsSpent?: string | null;
8759
+ }
8760
+ interface AnthropicStreamChunk extends AnthropicStreamChunkContentOneOf {
8761
+ toolUse?: ToolUse;
8762
+ contentBlockDelta?: ContentBlockDelta;
8763
+ messageDelta?: MessageDelta;
8764
+ redactedThinking?: RedactedThinking;
8765
+ /**
8766
+ * The unique identifier for the response. The format and length of the ID might change over time.
8767
+ * @maxLength 512
8768
+ */
8769
+ responseId?: string;
8770
+ /**
8771
+ * The ID for the Anthropic Claude model that made the request.
8772
+ * @maxLength 512
8773
+ */
8774
+ model?: string;
8775
+ index?: number | null;
8776
+ }
8777
+ /** @oneof */
8778
+ interface AnthropicStreamChunkContentOneOf {
8779
+ toolUse?: ToolUse;
8780
+ contentBlockDelta?: ContentBlockDelta;
8781
+ messageDelta?: MessageDelta;
8782
+ redactedThinking?: RedactedThinking;
8783
+ }
8784
+ interface ContentBlockDelta extends ContentBlockDeltaDeltaOneOf {
8785
+ /** @maxLength 1000000 */
8786
+ text?: string;
8787
+ /** @maxLength 1000000 */
8788
+ partialJson?: string;
8789
+ /** @maxLength 1000000 */
8790
+ thinking?: string;
8791
+ /** @maxLength 1000000 */
8792
+ signature?: string;
8793
+ }
8794
+ /** @oneof */
8795
+ interface ContentBlockDeltaDeltaOneOf {
8796
+ /** @maxLength 1000000 */
8797
+ text?: string;
8798
+ /** @maxLength 1000000 */
8799
+ partialJson?: string;
8800
+ /** @maxLength 1000000 */
8801
+ thinking?: string;
8802
+ /** @maxLength 1000000 */
8803
+ signature?: string;
8804
+ }
8805
+ interface MessageDelta {
8806
+ /**
8807
+ * The reason why Anthropic Claude stopped generating the response:
8808
+ * `end_turn` – The model reached a natural stopping point.
8809
+ * `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.
8810
+ * `stop_sequence` – The model generated one of the stop sequences that you specified in the stop_sequences input field.
8811
+ * @maxLength 512
8812
+ */
8813
+ stopReason?: string | null;
8814
+ /**
8815
+ * Which custom stop sequence was generated, if any.
8816
+ * @maxLength 512
8817
+ */
8818
+ stopSequence?: string | null;
8819
+ /** Token usage statistics. */
8820
+ usage?: Usage;
8821
+ microcentsSpent?: string | null;
8822
+ }
8823
+ interface V1AnthropicStreamChunk extends V1AnthropicStreamChunkContentOneOf {
8824
+ /** Announcement of a model-initiated tool call (client tools or Anthropic-run tools) */
8825
+ toolUse?: V1ToolUse;
8826
+ /**
8827
+ * Start of a server tool block at `index` (e.g., "web_search", "web_fetch", "code_execution").
8828
+ * The tool input will stream via ContentBlockDelta.partial_json for the SAME `index`,
8829
+ * and is finalized by ContentBlockStop for that `index`.
8830
+ */
8831
+ serverToolUse?: ServerToolUse;
8832
+ /** Start of a Web Search result block at `index`. Completion is marked by ContentBlockStop. */
8833
+ webSearchToolResult?: WebSearchToolResult;
8834
+ /** Start of a Web Fetch result block at `index`. Completion is marked by ContentBlockStop. */
8835
+ webFetchToolResult?: WebFetchToolResult;
8836
+ /** Start of a Code Execution result block at `index`. Completion is marked by ContentBlockStop. */
8837
+ codeExecutionToolResult?: CodeExecutionToolResult;
8838
+ /**
8839
+ * Incremental data that refines the content block at `index`
8840
+ * (text characters, tool-input JSON fragments, thinking text, or thinking signature).
8841
+ */
8842
+ contentBlockDelta?: V1ContentBlockDelta;
8843
+ /**
8844
+ * Top-level message updates:
8845
+ * - stop reason / stop sequence (when known),
8846
+ * - cumulative token usage (input, output, cache, server-tool counters),
8847
+ * - optional cost fields (e.g., microcents).
8848
+ */
8849
+ messageDelta?: AnthropicStreamChunkMessageDelta;
8850
+ /**
8851
+ * Redacted variant of thinking content when Claude’s safety systems redact internal reasoning.
8852
+ * Pass back unchanged in a follow-up request to let Claude continue without losing context.
8853
+ */
8854
+ redactedThinking?: V1RedactedThinking;
8855
+ /**
8856
+ * The unique identifier for the response. The format and length of the ID might change over time.
8857
+ * @maxLength 512
8858
+ */
8859
+ responseId?: string;
8860
+ /**
8861
+ * The ID for the Anthropic Claude model that made the request.
8862
+ * @maxLength 512
8863
+ */
8864
+ model?: string;
8865
+ /**
8866
+ * Index of the content block this chunk refers to (when relevant).
8867
+ * For example, text and tool-input deltas apply to the block at this index.
8868
+ */
8869
+ index?: number | null;
8870
+ }
8871
+ /** @oneof */
8872
+ interface V1AnthropicStreamChunkContentOneOf {
8873
+ /** Announcement of a model-initiated tool call (client tools or Anthropic-run tools) */
8874
+ toolUse?: V1ToolUse;
8875
+ /**
8876
+ * Start of a server tool block at `index` (e.g., "web_search", "web_fetch", "code_execution").
8877
+ * The tool input will stream via ContentBlockDelta.partial_json for the SAME `index`,
8878
+ * and is finalized by ContentBlockStop for that `index`.
8879
+ */
8880
+ serverToolUse?: ServerToolUse;
8881
+ /** Start of a Web Search result block at `index`. Completion is marked by ContentBlockStop. */
8882
+ webSearchToolResult?: WebSearchToolResult;
8883
+ /** Start of a Web Fetch result block at `index`. Completion is marked by ContentBlockStop. */
8884
+ webFetchToolResult?: WebFetchToolResult;
8885
+ /** Start of a Code Execution result block at `index`. Completion is marked by ContentBlockStop. */
8886
+ codeExecutionToolResult?: CodeExecutionToolResult;
8887
+ /**
8888
+ * Incremental data that refines the content block at `index`
8889
+ * (text characters, tool-input JSON fragments, thinking text, or thinking signature).
8890
+ */
8891
+ contentBlockDelta?: V1ContentBlockDelta;
8892
+ /**
8893
+ * Top-level message updates:
8894
+ * - stop reason / stop sequence (when known),
8895
+ * - cumulative token usage (input, output, cache, server-tool counters),
8896
+ * - optional cost fields (e.g., microcents).
8897
+ */
8898
+ messageDelta?: AnthropicStreamChunkMessageDelta;
8899
+ /**
8900
+ * Redacted variant of thinking content when Claude’s safety systems redact internal reasoning.
8901
+ * Pass back unchanged in a follow-up request to let Claude continue without losing context.
8902
+ */
8903
+ redactedThinking?: V1RedactedThinking;
8904
+ }
8905
+ interface V1ContentBlockDelta extends V1ContentBlockDeltaDeltaOneOf {
8906
+ /**
8907
+ * Characters belonging to a text content block.
8908
+ * @maxLength 1000000
8909
+ */
8910
+ text?: string;
8911
+ /**
8912
+ * A fragment of the tool `input` JSON (as a string) for a tool_use/server_tool_use block.
8913
+ * Multiple fragments across chunks together represent the final JSON value.
8914
+ * @maxLength 1000000
8915
+ */
8916
+ partialJson?: string;
8917
+ /**
8918
+ * Portion of the model’s extended-thinking content for a thinking block.
8919
+ * @maxLength 1000000
8920
+ */
8921
+ thinking?: string;
8922
+ /**
8923
+ * Signature data associated with a thinking block (emitted immediately before that block completes).
8924
+ * @maxLength 1000000
8925
+ */
8926
+ signature?: string;
8927
+ }
8928
+ /** @oneof */
8929
+ interface V1ContentBlockDeltaDeltaOneOf {
8930
+ /**
8931
+ * Characters belonging to a text content block.
8932
+ * @maxLength 1000000
8933
+ */
8934
+ text?: string;
8935
+ /**
8936
+ * A fragment of the tool `input` JSON (as a string) for a tool_use/server_tool_use block.
8937
+ * Multiple fragments across chunks together represent the final JSON value.
8938
+ * @maxLength 1000000
8939
+ */
8940
+ partialJson?: string;
8941
+ /**
8942
+ * Portion of the model’s extended-thinking content for a thinking block.
8943
+ * @maxLength 1000000
8944
+ */
8945
+ thinking?: string;
8946
+ /**
8947
+ * Signature data associated with a thinking block (emitted immediately before that block completes).
8948
+ * @maxLength 1000000
8949
+ */
8950
+ signature?: string;
8951
+ }
8952
+ interface AnthropicStreamChunkMessageDelta {
8953
+ /**
8954
+ * Why generation concluded for this assistant message, when applicable:
8955
+ * "end_turn" | "max_tokens" | "stop_sequence" | "tool_use" | "pause_turn" | "refusal".
8956
+ * @maxLength 512
8957
+ */
8958
+ stopReason?: string | null;
8959
+ /**
8960
+ * The specific custom stop sequence that was produced, if any.
8961
+ * @maxLength 512
8962
+ */
8963
+ stopSequence?: string | null;
8964
+ /** Cumulative token usage at this point in the stream. */
8965
+ usage?: V1Usage;
8966
+ /** Cost of the request so far, in microcents. */
8967
+ microcentsSpent?: string | null;
8968
+ }
8506
8969
 
8507
8970
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
8508
8971
  getUrl: (context: any) => string;
@@ -8515,5 +8978,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
8515
8978
  __originalResponseType: R;
8516
8979
  };
8517
8980
  declare function generateContentByPromptObject(): __PublicMethodMetaInfo<'POST', {}, GenerateContentByPromptObjectRequest$1, GenerateContentByPromptObjectRequest, GenerateContentByPromptObjectResponse$1, GenerateContentByPromptObjectResponse>;
8981
+ declare function generateTextByPromptObjectStreamed(): __PublicMethodMetaInfo<'POST', {}, GenerateTextByPromptObjectRequest$1, GenerateTextByPromptObjectRequest, GeneratedTextChunk$1, GeneratedTextChunk>;
8518
8982
 
8519
- export { type Action as ActionOriginal, type AnthropicClaudeMessage as AnthropicClaudeMessageOriginal, type AnthropicMessage as AnthropicMessageOriginal, AnthropicModel as AnthropicModelOriginal, type AnthropicModelWithLiterals as AnthropicModelWithLiteralsOriginal, type AsyncGenerationConfig as AsyncGenerationConfigOriginal, type BashTool as BashToolOriginal, type Blob as BlobOriginal, type BuiltInTool as BuiltInToolOriginal, type CacheControl as CacheControlOriginal, CacheControlType as CacheControlTypeOriginal, type CacheControlTypeWithLiterals as CacheControlTypeWithLiteralsOriginal, type CandidateCitationMetadataCitation as CandidateCitationMetadataCitationOriginal, type CandidateCitationMetadata as CandidateCitationMetadataOriginal, type CandidateContent as CandidateContentOriginal, type CandidateContentPart as CandidateContentPartOriginal, type Candidate as CandidateOriginal, type CharLocationCitation as CharLocationCitationOriginal, ChatBisonModel as ChatBisonModelOriginal, type ChatBisonModelWithLiterals as ChatBisonModelWithLiteralsOriginal, type ChatBisonPredictRequest as ChatBisonPredictRequestOriginal, type ChatBisonPredictResponse as ChatBisonPredictResponseOriginal, type ChatBisonPrediction as ChatBisonPredictionOriginal, type ChatCompletionMessageContentPartContentValueOneOf as ChatCompletionMessageContentPartContentValueOneOfOriginal, type ChatCompletionMessageContentPart as ChatCompletionMessageContentPartOriginal, type ChatCompletionMessageFunctionWithArgs as ChatCompletionMessageFunctionWithArgsOriginal, type ChatCompletionMessageImageUrlContent as ChatCompletionMessageImageUrlContentOriginal, ChatCompletionMessageMessageRole as ChatCompletionMessageMessageRoleOriginal, type ChatCompletionMessageMessageRoleWithLiterals as ChatCompletionMessageMessageRoleWithLiteralsOriginal, type ChatCompletionMessage as ChatCompletionMessageOriginal, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCallOriginal, ChatCompletionModel as ChatCompletionModelOriginal, type ChatCompletionModelWithLiterals as ChatCompletionModelWithLiteralsOriginal, type ChatInstance as ChatInstanceOriginal, type ChatMessage as ChatMessageOriginal, type Choice as ChoiceOriginal, type CitationMetadata as CitationMetadataOriginal, type Citation as CitationOriginal, type CitationTypeOneOf as CitationTypeOneOfOriginal, type CitationsEnabled as CitationsEnabledOriginal, ClaudeModel as ClaudeModelOriginal, type ClaudeModelWithLiterals as ClaudeModelWithLiteralsOriginal, ClipGuidancePreset as ClipGuidancePresetOriginal, type ClipGuidancePresetWithLiterals as ClipGuidancePresetWithLiteralsOriginal, type CodeExecution as CodeExecutionOriginal, type CodeExecutionResult as CodeExecutionResultOriginal, type CodeExecutionTool as CodeExecutionToolOriginal, type CodeExecutionToolResultContentOneOf as CodeExecutionToolResultContentOneOfOriginal, type CodeExecutionToolResultError as CodeExecutionToolResultErrorOriginal, type CodeExecutionToolResult as CodeExecutionToolResultOriginal, type CompletionTokenDetails as CompletionTokenDetailsOriginal, type ComputerUseTool as ComputerUseToolOriginal, type Container as ContainerOriginal, type ContainerUpload as ContainerUploadOriginal, type ContentBlockLocationCitation as ContentBlockLocationCitationOriginal, type ContentBlock as ContentBlockOriginal, type ContentBlockTypeOneOf as ContentBlockTypeOneOfOriginal, type ContentData as ContentDataOriginal, type Content as ContentOriginal, type ContentPartContentValueOneOf as ContentPartContentValueOneOfOriginal, type ContentPart as ContentPartOriginal, ContentRole as ContentRoleOriginal, type ContentRoleWithLiterals as ContentRoleWithLiteralsOriginal, type CreateChatCompletionRequestFunctionCallOneOf as CreateChatCompletionRequestFunctionCallOneOfOriginal, type CreateChatCompletionRequestFunctionSignature as CreateChatCompletionRequestFunctionSignatureOriginal, type CreateChatCompletionRequest as CreateChatCompletionRequestOriginal, type CreateChatCompletionRequestResponseFormat as CreateChatCompletionRequestResponseFormatOriginal, type CreateChatCompletionRequestTool as CreateChatCompletionRequestToolOriginal, type CreateChatCompletionResponseChoice as CreateChatCompletionResponseChoiceOriginal, type CreateChatCompletionResponseCompletionTokenDetails as CreateChatCompletionResponseCompletionTokenDetailsOriginal, type CreateChatCompletionResponse as CreateChatCompletionResponseOriginal, type CreateChatCompletionResponsePromptTokenDetails as CreateChatCompletionResponsePromptTokenDetailsOriginal, type CreateChatCompletionResponseTokenUsage as CreateChatCompletionResponseTokenUsageOriginal, type CreateImageOpenAiRequest as CreateImageOpenAiRequestOriginal, type CreateImageOpenAiResponse as CreateImageOpenAiResponseOriginal, type CreateImageRequest as CreateImageRequestOriginal, type CreateImageResponse as CreateImageResponseOriginal, CreatePredictionModel as CreatePredictionModelOriginal, type CreatePredictionModelWithLiterals as CreatePredictionModelWithLiteralsOriginal, type CreatePredictionRequestInputOneOf as CreatePredictionRequestInputOneOfOriginal, type CreatePredictionRequest as CreatePredictionRequestOriginal, type CreatePredictionResponse as CreatePredictionResponseOriginal, type CustomTool as CustomToolOriginal, type DocumentContent as DocumentContentOriginal, type DocumentSource as DocumentSourceOriginal, type DynamicRequestConfig as DynamicRequestConfigOriginal, type DynamicRetrievalConfig as DynamicRetrievalConfigOriginal, type EditImageOpenAiRequest as EditImageOpenAiRequestOriginal, type EditImageOpenAiResponse as EditImageOpenAiResponseOriginal, EditImageWithPromptRequestModel as EditImageWithPromptRequestModelOriginal, type EditImageWithPromptRequestModelWithLiterals as EditImageWithPromptRequestModelWithLiteralsOriginal, type EditImageWithPromptRequest as EditImageWithPromptRequestOriginal, type EditImageWithPromptResponse as EditImageWithPromptResponseOriginal, type Example as ExampleOriginal, type ExecutableCode as ExecutableCodeOriginal, type FallbackPromptConfig as FallbackPromptConfigOriginal, type FallbackProperties as FallbackPropertiesOriginal, type FileInput as FileInputOriginal, type FineTuningSpec as FineTuningSpecOriginal, FinishReason as FinishReasonOriginal, type FinishReasonWithLiterals as FinishReasonWithLiteralsOriginal, type FluxDevControlnet as FluxDevControlnetOriginal, type FluxPulid as FluxPulidOriginal, type FrameImage as FrameImageOriginal, type FunctionCall as FunctionCallOriginal, type FunctionDeclaration as FunctionDeclarationOriginal, type FunctionResponse as FunctionResponseOriginal, type FunctionSignature as FunctionSignatureOriginal, type FunctionWithArgs as FunctionWithArgsOriginal, type GatewayContentBlock as GatewayContentBlockOriginal, type GatewayContentBlockTypeOneOf as GatewayContentBlockTypeOneOfOriginal, type GatewayMessageDefinition as GatewayMessageDefinitionOriginal, GatewayMessageDefinitionRole as GatewayMessageDefinitionRoleOriginal, type GatewayMessageDefinitionRoleWithLiterals as GatewayMessageDefinitionRoleWithLiteralsOriginal, type GatewayToolDefinitionCustomTool as GatewayToolDefinitionCustomToolOriginal, type GatewayToolDefinition as GatewayToolDefinitionOriginal, type GatewayToolDefinitionToolOneOf as GatewayToolDefinitionToolOneOfOriginal, GenerateAnImageModel as GenerateAnImageModelOriginal, type GenerateAnImageModelWithLiterals as GenerateAnImageModelWithLiteralsOriginal, type GenerateAnImageRequest as GenerateAnImageRequestOriginal, type GenerateAnImageResponse as GenerateAnImageResponseOriginal, type GenerateContentByPromptObjectRequest as GenerateContentByPromptObjectRequestOriginal, type GenerateContentByPromptObjectResponse as GenerateContentByPromptObjectResponseOriginal, type GenerateContentModelResponse as GenerateContentModelResponseOriginal, type GenerateContentModelResponseResponseOneOf as GenerateContentModelResponseResponseOneOfOriginal, type GenerateContentRequest as GenerateContentRequestOriginal, type GenerateContentResponse as GenerateContentResponseOriginal, type GenerateCoreRequest as GenerateCoreRequestOriginal, GenerateCoreRequestStylePreset as GenerateCoreRequestStylePresetOriginal, type GenerateCoreRequestStylePresetWithLiterals as GenerateCoreRequestStylePresetWithLiteralsOriginal, type GenerateCoreResponse as GenerateCoreResponseOriginal, GenerateImageMlPlatformModel as GenerateImageMlPlatformModelOriginal, type GenerateImageMlPlatformModelWithLiterals as GenerateImageMlPlatformModelWithLiteralsOriginal, type GenerateImageMlPlatformRequestInputOneOf as GenerateImageMlPlatformRequestInputOneOfOriginal, type GenerateImageMlPlatformRequest as GenerateImageMlPlatformRequestOriginal, type GenerateImageMlPlatformResponse as GenerateImageMlPlatformResponseOriginal, type GenerateImageRequest as GenerateImageRequestOriginal, type GenerateImageResponse as GenerateImageResponseOriginal, type GenerateStableDiffusionRequest as GenerateStableDiffusionRequestOriginal, GenerateStableDiffusionRequestOutputFormat as GenerateStableDiffusionRequestOutputFormatOriginal, type GenerateStableDiffusionRequestOutputFormatWithLiterals as GenerateStableDiffusionRequestOutputFormatWithLiteralsOriginal, type GenerateStableDiffusionResponse as GenerateStableDiffusionResponseOriginal, type GenerateVideoInstance as GenerateVideoInstanceOriginal, type GenerateVideoParameters as GenerateVideoParametersOriginal, type GenerateVideoRequest as GenerateVideoRequestOriginal, type GenerateVideoResponse as GenerateVideoResponseOriginal, type GeneratedContent as GeneratedContentOriginal, type GeneratedVideo as GeneratedVideoOriginal, type GenerationConfig as GenerationConfigOriginal, GenerationMode as GenerationModeOriginal, type GenerationModeWithLiterals as GenerationModeWithLiteralsOriginal, type GenerationThinkingConfig as GenerationThinkingConfigOriginal, type GoogleSearch as GoogleSearchOriginal, type GoogleSearchRetrieval as GoogleSearchRetrievalOriginal, type GoogleproxyV1CacheControl as GoogleproxyV1CacheControlOriginal, type GoogleproxyV1ChatCompletionMessage as GoogleproxyV1ChatCompletionMessageOriginal, type GoogleproxyV1ContentBlock as GoogleproxyV1ContentBlockOriginal, type GoogleproxyV1ContentBlockTypeOneOf as GoogleproxyV1ContentBlockTypeOneOfOriginal, type GoogleproxyV1ImageUrl as GoogleproxyV1ImageUrlOriginal, type GoogleproxyV1InputSchema as GoogleproxyV1InputSchemaOriginal, type GoogleproxyV1McpServer as GoogleproxyV1McpServerOriginal, GoogleproxyV1McpServerType as GoogleproxyV1McpServerTypeOriginal, type GoogleproxyV1McpServerTypeWithLiterals as GoogleproxyV1McpServerTypeWithLiteralsOriginal, GoogleproxyV1Model as GoogleproxyV1ModelOriginal, type GoogleproxyV1ModelWithLiterals as GoogleproxyV1ModelWithLiteralsOriginal, type GoogleproxyV1RedactedThinking as GoogleproxyV1RedactedThinkingOriginal, GoogleproxyV1ResponseTypeType as GoogleproxyV1ResponseTypeTypeOriginal, type GoogleproxyV1ResponseTypeTypeWithLiterals as GoogleproxyV1ResponseTypeTypeWithLiteralsOriginal, type GoogleproxyV1Text as GoogleproxyV1TextOriginal, type GoogleproxyV1ThinkingConfig as GoogleproxyV1ThinkingConfigOriginal, type GoogleproxyV1Thinking as GoogleproxyV1ThinkingOriginal, type GoogleproxyV1ToolChoice as GoogleproxyV1ToolChoiceOriginal, GoogleproxyV1ToolChoiceType as GoogleproxyV1ToolChoiceTypeOriginal, type GoogleproxyV1ToolChoiceTypeWithLiterals as GoogleproxyV1ToolChoiceTypeWithLiteralsOriginal, type GoogleproxyV1Tool as GoogleproxyV1ToolOriginal, type GoogleproxyV1ToolResult as GoogleproxyV1ToolResultOriginal, type GoogleproxyV1ToolUse as GoogleproxyV1ToolUseOriginal, type GoogleproxyV1Usage as GoogleproxyV1UsageOriginal, type GroundingChunkChunkTypeOneOf as GroundingChunkChunkTypeOneOfOriginal, type GroundingChunk as GroundingChunkOriginal, type GroundingMetadata as GroundingMetadataOriginal, type GroundingSupport as GroundingSupportOriginal, HarmCategory as HarmCategoryOriginal, type HarmCategoryWithLiterals as HarmCategoryWithLiteralsOriginal, HarmProbability as HarmProbabilityOriginal, type HarmProbabilityWithLiterals as HarmProbabilityWithLiteralsOriginal, ImageCoreModel as ImageCoreModelOriginal, type ImageCoreModelWithLiterals as ImageCoreModelWithLiteralsOriginal, type ImageInput as ImageInputOriginal, ImageMediaTypeMediaType as ImageMediaTypeMediaTypeOriginal, type ImageMediaTypeMediaTypeWithLiterals as ImageMediaTypeMediaTypeWithLiteralsOriginal, ImageModel as ImageModelOriginal, type ImageModelWithLiterals as ImageModelWithLiteralsOriginal, type ImageObject as ImageObjectOriginal, ImageQuality as ImageQualityOriginal, type ImageQualityWithLiterals as ImageQualityWithLiteralsOriginal, ImageSize as ImageSizeOriginal, type ImageSizeWithLiterals as ImageSizeWithLiteralsOriginal, ImageStableDiffusionModel as ImageStableDiffusionModelOriginal, type ImageStableDiffusionModelWithLiterals as ImageStableDiffusionModelWithLiteralsOriginal, ImageStyle as ImageStyleOriginal, type ImageStyleWithLiterals as ImageStyleWithLiteralsOriginal, type ImageUrlContent as ImageUrlContentOriginal, type ImageUrl as ImageUrlOriginal, type ImageUsage as ImageUsageOriginal, ImagenModel as ImagenModelOriginal, type ImagenModelWithLiterals as ImagenModelWithLiteralsOriginal, type IncompleteDetails as IncompleteDetailsOriginal, type InputSchema as InputSchemaOriginal, type Instance as InstanceOriginal, type InvokeAnthropicClaudeModelRequest as InvokeAnthropicClaudeModelRequestOriginal, type InvokeAnthropicClaudeModelRequestTool as InvokeAnthropicClaudeModelRequestToolOriginal, type InvokeAnthropicClaudeModelResponse as InvokeAnthropicClaudeModelResponseOriginal, type InvokeAnthropicModelRequest as InvokeAnthropicModelRequestOriginal, type InvokeAnthropicModelResponse as InvokeAnthropicModelResponseOriginal, type InvokeChatCompletionRequest as InvokeChatCompletionRequestOriginal, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf as InvokeChatCompletionRequestResponseFormatFormatDetailsOneOfOriginal, type InvokeChatCompletionRequestResponseFormat as InvokeChatCompletionRequestResponseFormatOriginal, type InvokeChatCompletionResponseChoice as InvokeChatCompletionResponseChoiceOriginal, type InvokeChatCompletionResponse as InvokeChatCompletionResponseOriginal, type InvokeChatCompletionResponseUsage as InvokeChatCompletionResponseUsageOriginal, type InvokeLlamaModelRequest as InvokeLlamaModelRequestOriginal, type InvokeLlamaModelResponse as InvokeLlamaModelResponseOriginal, type InvokeMlPlatformLlamaModelRequest as InvokeMlPlatformLlamaModelRequestOriginal, type InvokeMlPlatformLlamaModelResponse as InvokeMlPlatformLlamaModelResponseOriginal, type InvokeMlPlatformOpenAIChatCompletionRawRequest as InvokeMlPlatformOpenAIChatCompletionRawRequestOriginal, type InvokeMlPlatformOpenAIChatCompletionRawResponse as InvokeMlPlatformOpenAIChatCompletionRawResponseOriginal, type JsonSchema as JsonSchemaOriginal, Language as LanguageOriginal, type LanguageWithLiterals as LanguageWithLiteralsOriginal, LlamaModel as LlamaModelOriginal, type LlamaModelWithLiterals as LlamaModelWithLiteralsOriginal, type LoraModelSelect as LoraModelSelectOriginal, type McpServer as McpServerOriginal, type McpServerToolConfiguration as McpServerToolConfigurationOriginal, McpServerType as McpServerTypeOriginal, type McpServerTypeWithLiterals as McpServerTypeWithLiteralsOriginal, type McpToolUse as McpToolUseOriginal, type MediaContent as MediaContentOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, MessageRole as MessageRoleOriginal, MessageRoleRole as MessageRoleRoleOriginal, type MessageRoleRoleWithLiterals as MessageRoleRoleWithLiteralsOriginal, type MessageRoleWithLiterals as MessageRoleWithLiteralsOriginal, type Metadata as MetadataOriginal, Modality as ModalityOriginal, type ModalityTokenCount as ModalityTokenCountOriginal, type ModalityWithLiterals as ModalityWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, Model as ModelOriginal, type ModelWithLiterals as ModelWithLiteralsOriginal, OpenAiImageModel as OpenAiImageModelOriginal, type OpenAiImageModelWithLiterals as OpenAiImageModelWithLiteralsOriginal, type OpenAiImageTokenDetails as OpenAiImageTokenDetailsOriginal, type OpenAiResponsesRequest as OpenAiResponsesRequestOriginal, type OpenAiResponsesResponseIncompleteDetails as OpenAiResponsesResponseIncompleteDetailsOriginal, type OpenAiResponsesResponse as OpenAiResponsesResponseOriginal, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf as OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type OpenaiproxyV1ChatCompletionMessageContentPart as OpenaiproxyV1ChatCompletionMessageContentPartOriginal, type OpenaiproxyV1ChatCompletionMessageImageUrlContent as OpenaiproxyV1ChatCompletionMessageImageUrlContentOriginal, OpenaiproxyV1ChatCompletionMessageMessageRole as OpenaiproxyV1ChatCompletionMessageMessageRoleOriginal, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals as OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type OpenaiproxyV1ChatCompletionMessage as OpenaiproxyV1ChatCompletionMessageOriginal, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf as OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOfOriginal, type OpenaiproxyV1CreateChatCompletionRequest as OpenaiproxyV1CreateChatCompletionRequestOriginal, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat as OpenaiproxyV1CreateChatCompletionRequestResponseFormatOriginal, type OpenaiproxyV1CreateChatCompletionResponseChoice as OpenaiproxyV1CreateChatCompletionResponseChoiceOriginal, type OpenaiproxyV1CreateChatCompletionResponse as OpenaiproxyV1CreateChatCompletionResponseOriginal, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage as OpenaiproxyV1CreateChatCompletionResponseTokenUsageOriginal, OpenaiproxyV1Model as OpenaiproxyV1ModelOriginal, type OpenaiproxyV1ModelWithLiterals as OpenaiproxyV1ModelWithLiteralsOriginal, Outcome as OutcomeOriginal, type OutcomeWithLiterals as OutcomeWithLiteralsOriginal, type OutpaintDirection as OutpaintDirectionOriginal, type OutputAnnotationAnnotationTypeOneOf as OutputAnnotationAnnotationTypeOneOfOriginal, type OutputAnnotation as OutputAnnotationOriginal, type OutputContent as OutputContentOriginal, OutputFormat as OutputFormatOriginal, type OutputFormatWithLiterals as OutputFormatWithLiteralsOriginal, type OutputOptions as OutputOptionsOriginal, type PageLocationCitation as PageLocationCitationOriginal, type Parameters as ParametersOriginal, type PerplexityImageDescriptor as PerplexityImageDescriptorOriginal, PerplexityMessageMessageRole as PerplexityMessageMessageRoleOriginal, type PerplexityMessageMessageRoleWithLiterals as PerplexityMessageMessageRoleWithLiteralsOriginal, type PerplexityMessage as PerplexityMessageOriginal, PerplexityModel as PerplexityModelOriginal, type PerplexityModelWithLiterals as PerplexityModelWithLiteralsOriginal, type PredictParameters as PredictParametersOriginal, type Prediction as PredictionOriginal, type PromptModelRequestOneOf as PromptModelRequestOneOfOriginal, type Prompt as PromptOriginal, type PromptProxy as PromptProxyOriginal, type PromptTokenDetails as PromptTokenDetailsOriginal, type PublicationDate as PublicationDateOriginal, type RedactedThinking as RedactedThinkingOriginal, type RequestMetadata as RequestMetadataOriginal, type ResponseFormat as ResponseFormatOriginal, type ResponseMetadata as ResponseMetadataOriginal, ResponseTypeType as ResponseTypeTypeOriginal, type ResponseTypeTypeWithLiterals as ResponseTypeTypeWithLiteralsOriginal, type ResponsesCodeInterpreterContainerAuto as ResponsesCodeInterpreterContainerAutoOriginal, type ResponsesCodeInterpreterContainerContainerTypeOneOf as ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type ResponsesCodeInterpreterContainer as ResponsesCodeInterpreterContainerOriginal, type ResponsesCodeInterpreterImageOutput as ResponsesCodeInterpreterImageOutputOriginal, type ResponsesCodeInterpreterLogsOutput as ResponsesCodeInterpreterLogsOutputOriginal, type ResponsesCodeInterpreter as ResponsesCodeInterpreterOriginal, type ResponsesCodeInterpreterOutput as ResponsesCodeInterpreterOutputOriginal, type ResponsesCodeInterpreterOutputOutputTypeOneOf as ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type ResponsesCodeInterpreterToolCall as ResponsesCodeInterpreterToolCallOriginal, type ResponsesFunction as ResponsesFunctionOriginal, type ResponsesFunctionToolCall as ResponsesFunctionToolCallOriginal, type ResponsesFunctionToolCallOutput as ResponsesFunctionToolCallOutputOriginal, type ResponsesInputItemItemOneOf as ResponsesInputItemItemOneOfOriginal, type ResponsesInputItem as ResponsesInputItemOriginal, type ResponsesInputMessageContentContentValueOneOf as ResponsesInputMessageContentContentValueOneOfOriginal, type ResponsesInputMessageContentFileInput as ResponsesInputMessageContentFileInputOriginal, type ResponsesInputMessageContentImageInput as ResponsesInputMessageContentImageInputOriginal, type ResponsesInputMessageContent as ResponsesInputMessageContentOriginal, type ResponsesInputMessage as ResponsesInputMessageOriginal, ResponsesInputMessageResponsesMessageRole as ResponsesInputMessageResponsesMessageRoleOriginal, type ResponsesInputMessageResponsesMessageRoleWithLiterals as ResponsesInputMessageResponsesMessageRoleWithLiteralsOriginal, type ResponsesInputTokensDetails as ResponsesInputTokensDetailsOriginal, ResponsesMessageRole as ResponsesMessageRoleOriginal, type ResponsesMessageRoleWithLiterals as ResponsesMessageRoleWithLiteralsOriginal, ResponsesModel as ResponsesModelOriginal, type ResponsesModelWithLiterals as ResponsesModelWithLiteralsOriginal, type ResponsesOutputMessage as ResponsesOutputMessageOriginal, type ResponsesOutputMessageOutputContent as ResponsesOutputMessageOutputContentOriginal, type ResponsesOutput as ResponsesOutputOriginal, type ResponsesOutputOutputOneOf as ResponsesOutputOutputOneOfOriginal, type ResponsesOutputTokensDetails as ResponsesOutputTokensDetailsOriginal, type ResponsesReasoningContent as ResponsesReasoningContentOriginal, type ResponsesReasoning as ResponsesReasoningOriginal, type ResponsesReasoningOutput as ResponsesReasoningOutputOriginal, type ResponsesReasoningSummaryContent as ResponsesReasoningSummaryContentOriginal, type ResponsesTextFormatFormatOneOf as ResponsesTextFormatFormatOneOfOriginal, type ResponsesTextFormatJsonSchema as ResponsesTextFormatJsonSchemaOriginal, type ResponsesTextFormat as ResponsesTextFormatOriginal, type ResponsesTokenUsage as ResponsesTokenUsageOriginal, type ResponsesToolChoice as ResponsesToolChoiceOriginal, type ResponsesTool as ResponsesToolOriginal, type ResponsesToolToolTypeOneOf as ResponsesToolToolTypeOneOfOriginal, type ResponsesWebSearch as ResponsesWebSearchOriginal, type ResponsesWebSearchToolCallAction as ResponsesWebSearchToolCallActionOriginal, type ResponsesWebSearchToolCall as ResponsesWebSearchToolCallOriginal, type ResponsesWebSearchUserLocation as ResponsesWebSearchUserLocationOriginal, type ResultObject as ResultObjectOriginal, type RetrievalMetadata as RetrievalMetadataOriginal, type RetrievedContext as RetrievedContextOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SafetyAttribute as SafetyAttributeOriginal, type SafetyAttributes as SafetyAttributesOriginal, type SafetyRating as SafetyRatingOriginal, type SafetySetting as SafetySettingOriginal, Sampler as SamplerOriginal, type SamplerWithLiterals as SamplerWithLiteralsOriginal, type SearchEntryPoint as SearchEntryPointOriginal, type SearchResultLocationCitation as SearchResultLocationCitationOriginal, type Segment as SegmentOriginal, type ServerToolUse as ServerToolUseOriginal, type SimpleContentBlock as SimpleContentBlockOriginal, type SimpleContentBlockTypeOneOf as SimpleContentBlockTypeOneOfOriginal, StylePreset as StylePresetOriginal, type StylePresetWithLiterals as StylePresetWithLiteralsOriginal, type SystemInstruction as SystemInstructionOriginal, TextBisonModel as TextBisonModelOriginal, type TextBisonModelWithLiterals as TextBisonModelWithLiteralsOriginal, type TextBisonPredictRequest as TextBisonPredictRequestOriginal, type TextBisonPredictResponse as TextBisonPredictResponseOriginal, type TextBisonPrediction as TextBisonPredictionOriginal, type TextContent as TextContentOriginal, type TextEditorTool as TextEditorToolOriginal, type TextInstance as TextInstanceOriginal, type Text as TextOriginal, type TextPrompt as TextPromptOriginal, TextToImageRequestModel as TextToImageRequestModelOriginal, type TextToImageRequestModelWithLiterals as TextToImageRequestModelWithLiteralsOriginal, type TextToImageRequest as TextToImageRequestOriginal, TextToImageRequestStylePreset as TextToImageRequestStylePresetOriginal, type TextToImageRequestStylePresetWithLiterals as TextToImageRequestStylePresetWithLiteralsOriginal, type TextToImageResponse as TextToImageResponseOriginal, type TextToImageTaskResult as TextToImageTaskResultOriginal, type ThinkingConfig as ThinkingConfigOriginal, type Thinking as ThinkingOriginal, type ThinkingTextContent as ThinkingTextContentOriginal, Threshold as ThresholdOriginal, type ThresholdWithLiterals as ThresholdWithLiteralsOriginal, type TokenCount as TokenCountOriginal, type TokenMetadata as TokenMetadataOriginal, type TokenUsage as TokenUsageOriginal, type ToolCall as ToolCallOriginal, type ToolChoice as ToolChoiceOriginal, ToolChoiceType as ToolChoiceTypeOriginal, type ToolChoiceTypeWithLiterals as ToolChoiceTypeWithLiteralsOriginal, type ToolConfiguration as ToolConfigurationOriginal, type Tool as ToolOriginal, type ToolResultContentBlock as ToolResultContentBlockOriginal, type ToolResultContentBlockTypeOneOf as ToolResultContentBlockTypeOneOfOriginal, type ToolResultContent as ToolResultContentOriginal, type ToolResult as ToolResultOriginal, type ToolResultSearchResult as ToolResultSearchResultOriginal, type ToolUseContent as ToolUseContentOriginal, type ToolUse as ToolUseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UrlCitation as UrlCitationOriginal, type UsageCacheCreation as UsageCacheCreationOriginal, type UsageMetadata as UsageMetadataOriginal, type Usage as UsageOriginal, type UsageServerToolUse as UsageServerToolUseOriginal, type UserLocation as UserLocationOriginal, type UserRequestInfo as UserRequestInfoOriginal, type V1AnthropicClaudeMessage as V1AnthropicClaudeMessageOriginal, type V1CacheControl as V1CacheControlOriginal, V1CacheControlType as V1CacheControlTypeOriginal, type V1CacheControlTypeWithLiterals as V1CacheControlTypeWithLiteralsOriginal, type V1ChatCompletionMessageContentPartContentValueOneOf as V1ChatCompletionMessageContentPartContentValueOneOfOriginal, type V1ChatCompletionMessageContentPart as V1ChatCompletionMessageContentPartOriginal, type V1ChatCompletionMessageImageUrlContent as V1ChatCompletionMessageImageUrlContentOriginal, V1ChatCompletionMessageMessageRole as V1ChatCompletionMessageMessageRoleOriginal, type V1ChatCompletionMessageMessageRoleWithLiterals as V1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type V1ChatCompletionMessage as V1ChatCompletionMessageOriginal, type V1Citation as V1CitationOriginal, type V1CodeExecutionResult as V1CodeExecutionResultOriginal, type V1ContentBlock as V1ContentBlockOriginal, type V1ContentBlockTypeOneOf as V1ContentBlockTypeOneOfOriginal, type V1ContentPart as V1ContentPartOriginal, type V1CreateChatCompletionRequest as V1CreateChatCompletionRequestOriginal, type V1CreateChatCompletionRequestResponseFormat as V1CreateChatCompletionRequestResponseFormatOriginal, type V1CreateChatCompletionRequestTool as V1CreateChatCompletionRequestToolOriginal, type V1CreateChatCompletionResponseChoice as V1CreateChatCompletionResponseChoiceOriginal, type V1CreateChatCompletionResponse as V1CreateChatCompletionResponseOriginal, type V1CreateChatCompletionResponseTokenUsage as V1CreateChatCompletionResponseTokenUsageOriginal, type V1FineTuningSpec as V1FineTuningSpecOriginal, type V1FluxPulid as V1FluxPulidOriginal, type V1ImageInput as V1ImageInputOriginal, V1ImageMediaTypeMediaType as V1ImageMediaTypeMediaTypeOriginal, type V1ImageMediaTypeMediaTypeWithLiterals as V1ImageMediaTypeMediaTypeWithLiteralsOriginal, V1ImageModel as V1ImageModelOriginal, type V1ImageModelWithLiterals as V1ImageModelWithLiteralsOriginal, type V1ImageObject as V1ImageObjectOriginal, type V1ImageUrl as V1ImageUrlOriginal, type V1InputSchema as V1InputSchemaOriginal, type V1InvokeAnthropicClaudeModelRequest as V1InvokeAnthropicClaudeModelRequestOriginal, type V1InvokeAnthropicClaudeModelResponse as V1InvokeAnthropicClaudeModelResponseOriginal, type V1McpServer as V1McpServerOriginal, type V1McpServerToolConfiguration as V1McpServerToolConfigurationOriginal, V1McpServerType as V1McpServerTypeOriginal, type V1McpServerTypeWithLiterals as V1McpServerTypeWithLiteralsOriginal, V1MessageRoleRole as V1MessageRoleRoleOriginal, type V1MessageRoleRoleWithLiterals as V1MessageRoleRoleWithLiteralsOriginal, V1Model as V1ModelOriginal, type V1ModelWithLiterals as V1ModelWithLiteralsOriginal, type V1OpenAiResponsesRequest as V1OpenAiResponsesRequestOriginal, type V1OpenAiResponsesResponse as V1OpenAiResponsesResponseOriginal, type V1OutputAnnotationAnnotationTypeOneOf as V1OutputAnnotationAnnotationTypeOneOfOriginal, type V1OutputAnnotation as V1OutputAnnotationOriginal, type V1RedactedThinking as V1RedactedThinkingOriginal, V1ResponseTypeType as V1ResponseTypeTypeOriginal, type V1ResponseTypeTypeWithLiterals as V1ResponseTypeTypeWithLiteralsOriginal, type V1ResponsesCodeInterpreterContainerAuto as V1ResponsesCodeInterpreterContainerAutoOriginal, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf as V1ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type V1ResponsesCodeInterpreterContainer as V1ResponsesCodeInterpreterContainerOriginal, type V1ResponsesCodeInterpreterImageOutput as V1ResponsesCodeInterpreterImageOutputOriginal, type V1ResponsesCodeInterpreterLogsOutput as V1ResponsesCodeInterpreterLogsOutputOriginal, type V1ResponsesCodeInterpreter as V1ResponsesCodeInterpreterOriginal, type V1ResponsesCodeInterpreterOutput as V1ResponsesCodeInterpreterOutputOriginal, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf as V1ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type V1ResponsesCodeInterpreterToolCall as V1ResponsesCodeInterpreterToolCallOriginal, type V1ResponsesFunction as V1ResponsesFunctionOriginal, type V1ResponsesFunctionToolCall as V1ResponsesFunctionToolCallOriginal, type V1ResponsesFunctionToolCallOutput as V1ResponsesFunctionToolCallOutputOriginal, type V1ResponsesInputItemItemOneOf as V1ResponsesInputItemItemOneOfOriginal, type V1ResponsesInputItem as V1ResponsesInputItemOriginal, type V1ResponsesInputMessageContentContentValueOneOf as V1ResponsesInputMessageContentContentValueOneOfOriginal, type V1ResponsesInputMessageContent as V1ResponsesInputMessageContentOriginal, type V1ResponsesInputMessage as V1ResponsesInputMessageOriginal, type V1ResponsesInputTokensDetails as V1ResponsesInputTokensDetailsOriginal, V1ResponsesModel as V1ResponsesModelOriginal, type V1ResponsesModelWithLiterals as V1ResponsesModelWithLiteralsOriginal, type V1ResponsesOutputMessage as V1ResponsesOutputMessageOriginal, type V1ResponsesOutput as V1ResponsesOutputOriginal, type V1ResponsesOutputOutputOneOf as V1ResponsesOutputOutputOneOfOriginal, type V1ResponsesOutputTokensDetails as V1ResponsesOutputTokensDetailsOriginal, type V1ResponsesReasoningContent as V1ResponsesReasoningContentOriginal, type V1ResponsesReasoning as V1ResponsesReasoningOriginal, type V1ResponsesReasoningOutput as V1ResponsesReasoningOutputOriginal, type V1ResponsesReasoningSummaryContent as V1ResponsesReasoningSummaryContentOriginal, type V1ResponsesTextFormatFormatOneOf as V1ResponsesTextFormatFormatOneOfOriginal, type V1ResponsesTextFormat as V1ResponsesTextFormatOriginal, type V1ResponsesTokenUsage as V1ResponsesTokenUsageOriginal, type V1ResponsesToolChoice as V1ResponsesToolChoiceOriginal, type V1ResponsesTool as V1ResponsesToolOriginal, type V1ResponsesToolToolTypeOneOf as V1ResponsesToolToolTypeOneOfOriginal, type V1ResponsesWebSearch as V1ResponsesWebSearchOriginal, type V1ResponsesWebSearchToolCall as V1ResponsesWebSearchToolCallOriginal, type V1SimpleContentBlock as V1SimpleContentBlockOriginal, type V1SimpleContentBlockTypeOneOf as V1SimpleContentBlockTypeOneOfOriginal, type V1Text as V1TextOriginal, type V1TextToImageRequest as V1TextToImageRequestOriginal, type V1TextToImageResponse as V1TextToImageResponseOriginal, type V1ThinkingConfig as V1ThinkingConfigOriginal, type V1Thinking as V1ThinkingOriginal, type V1TokenUsage as V1TokenUsageOriginal, type V1ToolChoice as V1ToolChoiceOriginal, V1ToolChoiceType as V1ToolChoiceTypeOriginal, type V1ToolChoiceTypeWithLiterals as V1ToolChoiceTypeWithLiteralsOriginal, type V1ToolKindOneOf as V1ToolKindOneOfOriginal, type V1Tool as V1ToolOriginal, type V1ToolResult as V1ToolResultOriginal, type V1ToolUse as V1ToolUseOriginal, type V1UrlCitation as V1UrlCitationOriginal, type V1Usage as V1UsageOriginal, VideoGenModel as VideoGenModelOriginal, type VideoGenModelWithLiterals as VideoGenModelWithLiteralsOriginal, type VideoInferenceRequest as VideoInferenceRequestOriginal, type VideoInferenceResponse as VideoInferenceResponseOriginal, type VideoInferenceTaskResult as VideoInferenceTaskResultOriginal, VideoModel as VideoModelOriginal, type VideoModelWithLiterals as VideoModelWithLiteralsOriginal, type WebFetchTool as WebFetchToolOriginal, type WebFetchToolResultContentError as WebFetchToolResultContentErrorOriginal, type WebFetchToolResultContentOneOf as WebFetchToolResultContentOneOfOriginal, type WebFetchToolResultContentSuccess as WebFetchToolResultContentSuccessOriginal, type WebFetchToolResult as WebFetchToolResultOriginal, type Web as WebOriginal, type WebSearchResultList as WebSearchResultListOriginal, type WebSearchResultLocationCitation as WebSearchResultLocationCitationOriginal, type WebSearchResult as WebSearchResultOriginal, type WebSearchTool as WebSearchToolOriginal, type WebSearchToolResultContentOneOf as WebSearchToolResultContentOneOfOriginal, type WebSearchToolResultError as WebSearchToolResultErrorOriginal, type WebSearchToolResult as WebSearchToolResultOriginal, type WebSearchUserLocation as WebSearchUserLocationOriginal, type __PublicMethodMetaInfo, generateContentByPromptObject };
8983
+ export { type Action as ActionOriginal, type AnthropicClaudeMessage as AnthropicClaudeMessageOriginal, type AnthropicMessage as AnthropicMessageOriginal, AnthropicModel as AnthropicModelOriginal, type AnthropicModelWithLiterals as AnthropicModelWithLiteralsOriginal, type AnthropicStreamChunkContentOneOf as AnthropicStreamChunkContentOneOfOriginal, type AnthropicStreamChunkMessageDelta as AnthropicStreamChunkMessageDeltaOriginal, type AnthropicStreamChunk as AnthropicStreamChunkOriginal, type AsyncGenerationConfig as AsyncGenerationConfigOriginal, type BashTool as BashToolOriginal, type Blob as BlobOriginal, type BuiltInTool as BuiltInToolOriginal, type CacheControl as CacheControlOriginal, CacheControlType as CacheControlTypeOriginal, type CacheControlTypeWithLiterals as CacheControlTypeWithLiteralsOriginal, type CandidateCitationMetadataCitation as CandidateCitationMetadataCitationOriginal, type CandidateCitationMetadata as CandidateCitationMetadataOriginal, type CandidateContent as CandidateContentOriginal, type CandidateContentPart as CandidateContentPartOriginal, type Candidate as CandidateOriginal, type CharLocationCitation as CharLocationCitationOriginal, ChatBisonModel as ChatBisonModelOriginal, type ChatBisonModelWithLiterals as ChatBisonModelWithLiteralsOriginal, type ChatBisonPredictRequest as ChatBisonPredictRequestOriginal, type ChatBisonPredictResponse as ChatBisonPredictResponseOriginal, type ChatBisonPrediction as ChatBisonPredictionOriginal, type ChatCompletionChunkChunkChoice as ChatCompletionChunkChunkChoiceOriginal, type ChatCompletionChunk as ChatCompletionChunkOriginal, type ChatCompletionMessageContentPartContentValueOneOf as ChatCompletionMessageContentPartContentValueOneOfOriginal, type ChatCompletionMessageContentPart as ChatCompletionMessageContentPartOriginal, type ChatCompletionMessageFunctionWithArgs as ChatCompletionMessageFunctionWithArgsOriginal, type ChatCompletionMessageImageUrlContent as ChatCompletionMessageImageUrlContentOriginal, ChatCompletionMessageMessageRole as ChatCompletionMessageMessageRoleOriginal, type ChatCompletionMessageMessageRoleWithLiterals as ChatCompletionMessageMessageRoleWithLiteralsOriginal, type ChatCompletionMessage as ChatCompletionMessageOriginal, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCallOriginal, ChatCompletionModel as ChatCompletionModelOriginal, type ChatCompletionModelWithLiterals as ChatCompletionModelWithLiteralsOriginal, type ChatInstance as ChatInstanceOriginal, type ChatMessage as ChatMessageOriginal, type Choice as ChoiceOriginal, type ChunkChoiceChunkDelta as ChunkChoiceChunkDeltaOriginal, type ChunkChoice as ChunkChoiceOriginal, type ChunkDelta as ChunkDeltaOriginal, type CitationMetadata as CitationMetadataOriginal, type Citation as CitationOriginal, type CitationTypeOneOf as CitationTypeOneOfOriginal, type CitationsEnabled as CitationsEnabledOriginal, ClaudeModel as ClaudeModelOriginal, type ClaudeModelWithLiterals as ClaudeModelWithLiteralsOriginal, ClipGuidancePreset as ClipGuidancePresetOriginal, type ClipGuidancePresetWithLiterals as ClipGuidancePresetWithLiteralsOriginal, type CodeExecution as CodeExecutionOriginal, type CodeExecutionResult as CodeExecutionResultOriginal, type CodeExecutionTool as CodeExecutionToolOriginal, type CodeExecutionToolResultContentOneOf as CodeExecutionToolResultContentOneOfOriginal, type CodeExecutionToolResultError as CodeExecutionToolResultErrorOriginal, type CodeExecutionToolResult as CodeExecutionToolResultOriginal, type CompletionTokenDetails as CompletionTokenDetailsOriginal, type ComputerUseTool as ComputerUseToolOriginal, type Container as ContainerOriginal, type ContainerUpload as ContainerUploadOriginal, type ContentBlockDeltaDeltaOneOf as ContentBlockDeltaDeltaOneOfOriginal, type ContentBlockDelta as ContentBlockDeltaOriginal, type ContentBlockLocationCitation as ContentBlockLocationCitationOriginal, type ContentBlock as ContentBlockOriginal, type ContentBlockTypeOneOf as ContentBlockTypeOneOfOriginal, type ContentData as ContentDataOriginal, type Content as ContentOriginal, type ContentPartContentValueOneOf as ContentPartContentValueOneOfOriginal, type ContentPart as ContentPartOriginal, ContentRole as ContentRoleOriginal, type ContentRoleWithLiterals as ContentRoleWithLiteralsOriginal, type CreateChatCompletionRequestFunctionCallOneOf as CreateChatCompletionRequestFunctionCallOneOfOriginal, type CreateChatCompletionRequestFunctionSignature as CreateChatCompletionRequestFunctionSignatureOriginal, type CreateChatCompletionRequest as CreateChatCompletionRequestOriginal, type CreateChatCompletionRequestResponseFormat as CreateChatCompletionRequestResponseFormatOriginal, type CreateChatCompletionRequestTool as CreateChatCompletionRequestToolOriginal, type CreateChatCompletionResponseChoice as CreateChatCompletionResponseChoiceOriginal, type CreateChatCompletionResponseCompletionTokenDetails as CreateChatCompletionResponseCompletionTokenDetailsOriginal, type CreateChatCompletionResponse as CreateChatCompletionResponseOriginal, type CreateChatCompletionResponsePromptTokenDetails as CreateChatCompletionResponsePromptTokenDetailsOriginal, type CreateChatCompletionResponseTokenUsage as CreateChatCompletionResponseTokenUsageOriginal, type CreateImageOpenAiRequest as CreateImageOpenAiRequestOriginal, type CreateImageOpenAiResponse as CreateImageOpenAiResponseOriginal, type CreateImageRequest as CreateImageRequestOriginal, type CreateImageResponse as CreateImageResponseOriginal, CreatePredictionModel as CreatePredictionModelOriginal, type CreatePredictionModelWithLiterals as CreatePredictionModelWithLiteralsOriginal, type CreatePredictionRequestInputOneOf as CreatePredictionRequestInputOneOfOriginal, type CreatePredictionRequest as CreatePredictionRequestOriginal, type CreatePredictionResponse as CreatePredictionResponseOriginal, type CustomTool as CustomToolOriginal, type DocumentContent as DocumentContentOriginal, type DocumentSource as DocumentSourceOriginal, type DynamicRequestConfig as DynamicRequestConfigOriginal, type DynamicRetrievalConfig as DynamicRetrievalConfigOriginal, type EditImageOpenAiRequest as EditImageOpenAiRequestOriginal, type EditImageOpenAiResponse as EditImageOpenAiResponseOriginal, EditImageWithPromptRequestModel as EditImageWithPromptRequestModelOriginal, type EditImageWithPromptRequestModelWithLiterals as EditImageWithPromptRequestModelWithLiteralsOriginal, type EditImageWithPromptRequest as EditImageWithPromptRequestOriginal, type EditImageWithPromptResponse as EditImageWithPromptResponseOriginal, type Example as ExampleOriginal, type ExecutableCode as ExecutableCodeOriginal, type FallbackPromptConfig as FallbackPromptConfigOriginal, type FallbackProperties as FallbackPropertiesOriginal, type FileInput as FileInputOriginal, type FineTuningSpec as FineTuningSpecOriginal, FinishReason as FinishReasonOriginal, type FinishReasonWithLiterals as FinishReasonWithLiteralsOriginal, type FluxDevControlnet as FluxDevControlnetOriginal, type FluxPulid as FluxPulidOriginal, type FrameImage as FrameImageOriginal, type FunctionCall as FunctionCallOriginal, type FunctionDeclaration as FunctionDeclarationOriginal, type FunctionResponse as FunctionResponseOriginal, type FunctionSignature as FunctionSignatureOriginal, type FunctionWithArgs as FunctionWithArgsOriginal, type GatewayContentBlock as GatewayContentBlockOriginal, type GatewayContentBlockTypeOneOf as GatewayContentBlockTypeOneOfOriginal, type GatewayMessageDefinition as GatewayMessageDefinitionOriginal, GatewayMessageDefinitionRole as GatewayMessageDefinitionRoleOriginal, type GatewayMessageDefinitionRoleWithLiterals as GatewayMessageDefinitionRoleWithLiteralsOriginal, type GatewayToolDefinitionCustomTool as GatewayToolDefinitionCustomToolOriginal, type GatewayToolDefinition as GatewayToolDefinitionOriginal, type GatewayToolDefinitionToolOneOf as GatewayToolDefinitionToolOneOfOriginal, GenerateAnImageModel as GenerateAnImageModelOriginal, type GenerateAnImageModelWithLiterals as GenerateAnImageModelWithLiteralsOriginal, type GenerateAnImageRequest as GenerateAnImageRequestOriginal, type GenerateAnImageResponse as GenerateAnImageResponseOriginal, type GenerateContentByPromptObjectRequest as GenerateContentByPromptObjectRequestOriginal, type GenerateContentByPromptObjectResponse as GenerateContentByPromptObjectResponseOriginal, type GenerateContentModelResponse as GenerateContentModelResponseOriginal, type GenerateContentModelResponseResponseOneOf as GenerateContentModelResponseResponseOneOfOriginal, type GenerateContentRequest as GenerateContentRequestOriginal, type GenerateContentResponse as GenerateContentResponseOriginal, type GenerateCoreRequest as GenerateCoreRequestOriginal, GenerateCoreRequestStylePreset as GenerateCoreRequestStylePresetOriginal, type GenerateCoreRequestStylePresetWithLiterals as GenerateCoreRequestStylePresetWithLiteralsOriginal, type GenerateCoreResponse as GenerateCoreResponseOriginal, GenerateImageMlPlatformModel as GenerateImageMlPlatformModelOriginal, type GenerateImageMlPlatformModelWithLiterals as GenerateImageMlPlatformModelWithLiteralsOriginal, type GenerateImageMlPlatformRequestInputOneOf as GenerateImageMlPlatformRequestInputOneOfOriginal, type GenerateImageMlPlatformRequest as GenerateImageMlPlatformRequestOriginal, type GenerateImageMlPlatformResponse as GenerateImageMlPlatformResponseOriginal, type GenerateImageRequest as GenerateImageRequestOriginal, type GenerateImageResponse as GenerateImageResponseOriginal, type GenerateStableDiffusionRequest as GenerateStableDiffusionRequestOriginal, GenerateStableDiffusionRequestOutputFormat as GenerateStableDiffusionRequestOutputFormatOriginal, type GenerateStableDiffusionRequestOutputFormatWithLiterals as GenerateStableDiffusionRequestOutputFormatWithLiteralsOriginal, type GenerateStableDiffusionResponse as GenerateStableDiffusionResponseOriginal, type GenerateTextByPromptObjectRequest as GenerateTextByPromptObjectRequestOriginal, type GenerateVideoInstance as GenerateVideoInstanceOriginal, type GenerateVideoParameters as GenerateVideoParametersOriginal, type GenerateVideoRequest as GenerateVideoRequestOriginal, type GenerateVideoResponse as GenerateVideoResponseOriginal, type GeneratedContent as GeneratedContentOriginal, type GeneratedTextChunkModelChunkOneOf as GeneratedTextChunkModelChunkOneOfOriginal, type GeneratedTextChunk as GeneratedTextChunkOriginal, type GeneratedVideo as GeneratedVideoOriginal, type GenerationConfig as GenerationConfigOriginal, GenerationMode as GenerationModeOriginal, type GenerationModeWithLiterals as GenerationModeWithLiteralsOriginal, type GenerationThinkingConfig as GenerationThinkingConfigOriginal, type GoogleSearch as GoogleSearchOriginal, type GoogleSearchRetrieval as GoogleSearchRetrievalOriginal, type GoogleproxyV1AnthropicStreamChunkContentOneOf as GoogleproxyV1AnthropicStreamChunkContentOneOfOriginal, type GoogleproxyV1AnthropicStreamChunk as GoogleproxyV1AnthropicStreamChunkOriginal, type GoogleproxyV1CacheControl as GoogleproxyV1CacheControlOriginal, type GoogleproxyV1ChatCompletionMessage as GoogleproxyV1ChatCompletionMessageOriginal, type GoogleproxyV1ContentBlockDeltaDeltaOneOf as GoogleproxyV1ContentBlockDeltaDeltaOneOfOriginal, type GoogleproxyV1ContentBlockDelta as GoogleproxyV1ContentBlockDeltaOriginal, type GoogleproxyV1ContentBlock as GoogleproxyV1ContentBlockOriginal, type GoogleproxyV1ContentBlockTypeOneOf as GoogleproxyV1ContentBlockTypeOneOfOriginal, type GoogleproxyV1ImageUrl as GoogleproxyV1ImageUrlOriginal, type GoogleproxyV1InputSchema as GoogleproxyV1InputSchemaOriginal, type GoogleproxyV1McpServer as GoogleproxyV1McpServerOriginal, GoogleproxyV1McpServerType as GoogleproxyV1McpServerTypeOriginal, type GoogleproxyV1McpServerTypeWithLiterals as GoogleproxyV1McpServerTypeWithLiteralsOriginal, GoogleproxyV1Model as GoogleproxyV1ModelOriginal, type GoogleproxyV1ModelWithLiterals as GoogleproxyV1ModelWithLiteralsOriginal, type GoogleproxyV1RedactedThinking as GoogleproxyV1RedactedThinkingOriginal, GoogleproxyV1ResponseTypeType as GoogleproxyV1ResponseTypeTypeOriginal, type GoogleproxyV1ResponseTypeTypeWithLiterals as GoogleproxyV1ResponseTypeTypeWithLiteralsOriginal, type GoogleproxyV1Text as GoogleproxyV1TextOriginal, type GoogleproxyV1ThinkingConfig as GoogleproxyV1ThinkingConfigOriginal, type GoogleproxyV1Thinking as GoogleproxyV1ThinkingOriginal, type GoogleproxyV1ToolChoice as GoogleproxyV1ToolChoiceOriginal, GoogleproxyV1ToolChoiceType as GoogleproxyV1ToolChoiceTypeOriginal, type GoogleproxyV1ToolChoiceTypeWithLiterals as GoogleproxyV1ToolChoiceTypeWithLiteralsOriginal, type GoogleproxyV1Tool as GoogleproxyV1ToolOriginal, type GoogleproxyV1ToolResult as GoogleproxyV1ToolResultOriginal, type GoogleproxyV1ToolUse as GoogleproxyV1ToolUseOriginal, type GoogleproxyV1Usage as GoogleproxyV1UsageOriginal, type GroundingChunkChunkTypeOneOf as GroundingChunkChunkTypeOneOfOriginal, type GroundingChunk as GroundingChunkOriginal, type GroundingMetadata as GroundingMetadataOriginal, type GroundingSupport as GroundingSupportOriginal, HarmCategory as HarmCategoryOriginal, type HarmCategoryWithLiterals as HarmCategoryWithLiteralsOriginal, HarmProbability as HarmProbabilityOriginal, type HarmProbabilityWithLiterals as HarmProbabilityWithLiteralsOriginal, ImageCoreModel as ImageCoreModelOriginal, type ImageCoreModelWithLiterals as ImageCoreModelWithLiteralsOriginal, type ImageInput as ImageInputOriginal, ImageMediaTypeMediaType as ImageMediaTypeMediaTypeOriginal, type ImageMediaTypeMediaTypeWithLiterals as ImageMediaTypeMediaTypeWithLiteralsOriginal, ImageModel as ImageModelOriginal, type ImageModelWithLiterals as ImageModelWithLiteralsOriginal, type ImageObject as ImageObjectOriginal, ImageQuality as ImageQualityOriginal, type ImageQualityWithLiterals as ImageQualityWithLiteralsOriginal, ImageSize as ImageSizeOriginal, type ImageSizeWithLiterals as ImageSizeWithLiteralsOriginal, ImageStableDiffusionModel as ImageStableDiffusionModelOriginal, type ImageStableDiffusionModelWithLiterals as ImageStableDiffusionModelWithLiteralsOriginal, ImageStyle as ImageStyleOriginal, type ImageStyleWithLiterals as ImageStyleWithLiteralsOriginal, type ImageUrlContent as ImageUrlContentOriginal, type ImageUrl as ImageUrlOriginal, type ImageUsage as ImageUsageOriginal, ImagenModel as ImagenModelOriginal, type ImagenModelWithLiterals as ImagenModelWithLiteralsOriginal, type IncompleteDetails as IncompleteDetailsOriginal, type InputSchema as InputSchemaOriginal, type Instance as InstanceOriginal, type InvokeAnthropicClaudeModelRequest as InvokeAnthropicClaudeModelRequestOriginal, type InvokeAnthropicClaudeModelRequestTool as InvokeAnthropicClaudeModelRequestToolOriginal, type InvokeAnthropicClaudeModelResponse as InvokeAnthropicClaudeModelResponseOriginal, type InvokeAnthropicModelRequest as InvokeAnthropicModelRequestOriginal, type InvokeAnthropicModelResponse as InvokeAnthropicModelResponseOriginal, type InvokeChatCompletionRequest as InvokeChatCompletionRequestOriginal, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf as InvokeChatCompletionRequestResponseFormatFormatDetailsOneOfOriginal, type InvokeChatCompletionRequestResponseFormat as InvokeChatCompletionRequestResponseFormatOriginal, type InvokeChatCompletionResponseChoice as InvokeChatCompletionResponseChoiceOriginal, type InvokeChatCompletionResponse as InvokeChatCompletionResponseOriginal, type InvokeChatCompletionResponseUsage as InvokeChatCompletionResponseUsageOriginal, type InvokeLlamaModelRequest as InvokeLlamaModelRequestOriginal, type InvokeLlamaModelResponse as InvokeLlamaModelResponseOriginal, type InvokeMlPlatformLlamaModelRequest as InvokeMlPlatformLlamaModelRequestOriginal, type InvokeMlPlatformLlamaModelResponse as InvokeMlPlatformLlamaModelResponseOriginal, type InvokeMlPlatformOpenAIChatCompletionRawRequest as InvokeMlPlatformOpenAIChatCompletionRawRequestOriginal, type InvokeMlPlatformOpenAIChatCompletionRawResponse as InvokeMlPlatformOpenAIChatCompletionRawResponseOriginal, type JsonSchema as JsonSchemaOriginal, Language as LanguageOriginal, type LanguageWithLiterals as LanguageWithLiteralsOriginal, LlamaModel as LlamaModelOriginal, type LlamaModelWithLiterals as LlamaModelWithLiteralsOriginal, type LoraModelSelect as LoraModelSelectOriginal, type McpServer as McpServerOriginal, type McpServerToolConfiguration as McpServerToolConfigurationOriginal, McpServerType as McpServerTypeOriginal, type McpServerTypeWithLiterals as McpServerTypeWithLiteralsOriginal, type McpToolUse as McpToolUseOriginal, type MediaContent as MediaContentOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, type MessageDelta as MessageDeltaOriginal, MessageRole as MessageRoleOriginal, MessageRoleRole as MessageRoleRoleOriginal, type MessageRoleRoleWithLiterals as MessageRoleRoleWithLiteralsOriginal, type MessageRoleWithLiterals as MessageRoleWithLiteralsOriginal, type Metadata as MetadataOriginal, Modality as ModalityOriginal, type ModalityTokenCount as ModalityTokenCountOriginal, type ModalityWithLiterals as ModalityWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, Model as ModelOriginal, type ModelWithLiterals as ModelWithLiteralsOriginal, OpenAiImageModel as OpenAiImageModelOriginal, type OpenAiImageModelWithLiterals as OpenAiImageModelWithLiteralsOriginal, type OpenAiImageTokenDetails as OpenAiImageTokenDetailsOriginal, type OpenAiResponsesRequest as OpenAiResponsesRequestOriginal, type OpenAiResponsesResponseIncompleteDetails as OpenAiResponsesResponseIncompleteDetailsOriginal, type OpenAiResponsesResponse as OpenAiResponsesResponseOriginal, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf as OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type OpenaiproxyV1ChatCompletionMessageContentPart as OpenaiproxyV1ChatCompletionMessageContentPartOriginal, type OpenaiproxyV1ChatCompletionMessageImageUrlContent as OpenaiproxyV1ChatCompletionMessageImageUrlContentOriginal, OpenaiproxyV1ChatCompletionMessageMessageRole as OpenaiproxyV1ChatCompletionMessageMessageRoleOriginal, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals as OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type OpenaiproxyV1ChatCompletionMessage as OpenaiproxyV1ChatCompletionMessageOriginal, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf as OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOfOriginal, type OpenaiproxyV1CreateChatCompletionRequest as OpenaiproxyV1CreateChatCompletionRequestOriginal, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat as OpenaiproxyV1CreateChatCompletionRequestResponseFormatOriginal, type OpenaiproxyV1CreateChatCompletionResponseChoice as OpenaiproxyV1CreateChatCompletionResponseChoiceOriginal, type OpenaiproxyV1CreateChatCompletionResponse as OpenaiproxyV1CreateChatCompletionResponseOriginal, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage as OpenaiproxyV1CreateChatCompletionResponseTokenUsageOriginal, OpenaiproxyV1Model as OpenaiproxyV1ModelOriginal, type OpenaiproxyV1ModelWithLiterals as OpenaiproxyV1ModelWithLiteralsOriginal, Outcome as OutcomeOriginal, type OutcomeWithLiterals as OutcomeWithLiteralsOriginal, type OutpaintDirection as OutpaintDirectionOriginal, type OutputAnnotationAnnotationTypeOneOf as OutputAnnotationAnnotationTypeOneOfOriginal, type OutputAnnotation as OutputAnnotationOriginal, type OutputContent as OutputContentOriginal, OutputFormat as OutputFormatOriginal, type OutputFormatWithLiterals as OutputFormatWithLiteralsOriginal, type OutputOptions as OutputOptionsOriginal, type PageLocationCitation as PageLocationCitationOriginal, type Parameters as ParametersOriginal, type PerplexityImageDescriptor as PerplexityImageDescriptorOriginal, PerplexityMessageMessageRole as PerplexityMessageMessageRoleOriginal, type PerplexityMessageMessageRoleWithLiterals as PerplexityMessageMessageRoleWithLiteralsOriginal, type PerplexityMessage as PerplexityMessageOriginal, PerplexityModel as PerplexityModelOriginal, type PerplexityModelWithLiterals as PerplexityModelWithLiteralsOriginal, type PredictParameters as PredictParametersOriginal, type Prediction as PredictionOriginal, type PromptModelRequestOneOf as PromptModelRequestOneOfOriginal, type Prompt as PromptOriginal, type PromptProxy as PromptProxyOriginal, type PromptTokenDetails as PromptTokenDetailsOriginal, type PublicationDate as PublicationDateOriginal, type RedactedThinking as RedactedThinkingOriginal, type RequestMetadata as RequestMetadataOriginal, type ResponseFormat as ResponseFormatOriginal, type ResponseMetadata as ResponseMetadataOriginal, ResponseTypeType as ResponseTypeTypeOriginal, type ResponseTypeTypeWithLiterals as ResponseTypeTypeWithLiteralsOriginal, type ResponsesCodeInterpreterContainerAuto as ResponsesCodeInterpreterContainerAutoOriginal, type ResponsesCodeInterpreterContainerContainerTypeOneOf as ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type ResponsesCodeInterpreterContainer as ResponsesCodeInterpreterContainerOriginal, type ResponsesCodeInterpreterImageOutput as ResponsesCodeInterpreterImageOutputOriginal, type ResponsesCodeInterpreterLogsOutput as ResponsesCodeInterpreterLogsOutputOriginal, type ResponsesCodeInterpreter as ResponsesCodeInterpreterOriginal, type ResponsesCodeInterpreterOutput as ResponsesCodeInterpreterOutputOriginal, type ResponsesCodeInterpreterOutputOutputTypeOneOf as ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type ResponsesCodeInterpreterToolCall as ResponsesCodeInterpreterToolCallOriginal, type ResponsesFunction as ResponsesFunctionOriginal, type ResponsesFunctionToolCall as ResponsesFunctionToolCallOriginal, type ResponsesFunctionToolCallOutput as ResponsesFunctionToolCallOutputOriginal, type ResponsesInputItemItemOneOf as ResponsesInputItemItemOneOfOriginal, type ResponsesInputItem as ResponsesInputItemOriginal, type ResponsesInputMessageContentContentValueOneOf as ResponsesInputMessageContentContentValueOneOfOriginal, type ResponsesInputMessageContentFileInput as ResponsesInputMessageContentFileInputOriginal, type ResponsesInputMessageContentImageInput as ResponsesInputMessageContentImageInputOriginal, type ResponsesInputMessageContent as ResponsesInputMessageContentOriginal, type ResponsesInputMessage as ResponsesInputMessageOriginal, ResponsesInputMessageResponsesMessageRole as ResponsesInputMessageResponsesMessageRoleOriginal, type ResponsesInputMessageResponsesMessageRoleWithLiterals as ResponsesInputMessageResponsesMessageRoleWithLiteralsOriginal, type ResponsesInputTokensDetails as ResponsesInputTokensDetailsOriginal, ResponsesMessageRole as ResponsesMessageRoleOriginal, type ResponsesMessageRoleWithLiterals as ResponsesMessageRoleWithLiteralsOriginal, ResponsesModel as ResponsesModelOriginal, type ResponsesModelWithLiterals as ResponsesModelWithLiteralsOriginal, type ResponsesOutputMessage as ResponsesOutputMessageOriginal, type ResponsesOutputMessageOutputContent as ResponsesOutputMessageOutputContentOriginal, type ResponsesOutput as ResponsesOutputOriginal, type ResponsesOutputOutputOneOf as ResponsesOutputOutputOneOfOriginal, type ResponsesOutputTokensDetails as ResponsesOutputTokensDetailsOriginal, type ResponsesReasoningContent as ResponsesReasoningContentOriginal, type ResponsesReasoning as ResponsesReasoningOriginal, type ResponsesReasoningOutput as ResponsesReasoningOutputOriginal, type ResponsesReasoningSummaryContent as ResponsesReasoningSummaryContentOriginal, type ResponsesTextFormatFormatOneOf as ResponsesTextFormatFormatOneOfOriginal, type ResponsesTextFormatJsonSchema as ResponsesTextFormatJsonSchemaOriginal, type ResponsesTextFormat as ResponsesTextFormatOriginal, type ResponsesTokenUsage as ResponsesTokenUsageOriginal, type ResponsesToolChoice as ResponsesToolChoiceOriginal, type ResponsesTool as ResponsesToolOriginal, type ResponsesToolToolTypeOneOf as ResponsesToolToolTypeOneOfOriginal, type ResponsesWebSearch as ResponsesWebSearchOriginal, type ResponsesWebSearchToolCallAction as ResponsesWebSearchToolCallActionOriginal, type ResponsesWebSearchToolCall as ResponsesWebSearchToolCallOriginal, type ResponsesWebSearchUserLocation as ResponsesWebSearchUserLocationOriginal, type ResultObject as ResultObjectOriginal, type RetrievalMetadata as RetrievalMetadataOriginal, type RetrievedContext as RetrievedContextOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SafetyAttribute as SafetyAttributeOriginal, type SafetyAttributes as SafetyAttributesOriginal, type SafetyRating as SafetyRatingOriginal, type SafetySetting as SafetySettingOriginal, Sampler as SamplerOriginal, type SamplerWithLiterals as SamplerWithLiteralsOriginal, type SearchEntryPoint as SearchEntryPointOriginal, type SearchResultLocationCitation as SearchResultLocationCitationOriginal, type Segment as SegmentOriginal, type ServerToolUse as ServerToolUseOriginal, type SimpleContentBlock as SimpleContentBlockOriginal, type SimpleContentBlockTypeOneOf as SimpleContentBlockTypeOneOfOriginal, StylePreset as StylePresetOriginal, type StylePresetWithLiterals as StylePresetWithLiteralsOriginal, type SystemInstruction as SystemInstructionOriginal, TextBisonModel as TextBisonModelOriginal, type TextBisonModelWithLiterals as TextBisonModelWithLiteralsOriginal, type TextBisonPredictRequest as TextBisonPredictRequestOriginal, type TextBisonPredictResponse as TextBisonPredictResponseOriginal, type TextBisonPrediction as TextBisonPredictionOriginal, type TextContent as TextContentOriginal, type TextEditorTool as TextEditorToolOriginal, type TextInstance as TextInstanceOriginal, type Text as TextOriginal, type TextPrompt as TextPromptOriginal, TextToImageRequestModel as TextToImageRequestModelOriginal, type TextToImageRequestModelWithLiterals as TextToImageRequestModelWithLiteralsOriginal, type TextToImageRequest as TextToImageRequestOriginal, TextToImageRequestStylePreset as TextToImageRequestStylePresetOriginal, type TextToImageRequestStylePresetWithLiterals as TextToImageRequestStylePresetWithLiteralsOriginal, type TextToImageResponse as TextToImageResponseOriginal, type TextToImageTaskResult as TextToImageTaskResultOriginal, type ThinkingConfig as ThinkingConfigOriginal, type Thinking as ThinkingOriginal, type ThinkingTextContent as ThinkingTextContentOriginal, Threshold as ThresholdOriginal, type ThresholdWithLiterals as ThresholdWithLiteralsOriginal, type TokenCount as TokenCountOriginal, type TokenMetadata as TokenMetadataOriginal, type TokenUsage as TokenUsageOriginal, type ToolCall as ToolCallOriginal, type ToolChoice as ToolChoiceOriginal, ToolChoiceType as ToolChoiceTypeOriginal, type ToolChoiceTypeWithLiterals as ToolChoiceTypeWithLiteralsOriginal, type ToolConfiguration as ToolConfigurationOriginal, type Tool as ToolOriginal, type ToolResultContentBlock as ToolResultContentBlockOriginal, type ToolResultContentBlockTypeOneOf as ToolResultContentBlockTypeOneOfOriginal, type ToolResultContent as ToolResultContentOriginal, type ToolResult as ToolResultOriginal, type ToolResultSearchResult as ToolResultSearchResultOriginal, type ToolUseContent as ToolUseContentOriginal, type ToolUse as ToolUseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UrlCitation as UrlCitationOriginal, type UsageCacheCreation as UsageCacheCreationOriginal, type UsageMetadata as UsageMetadataOriginal, type Usage as UsageOriginal, type UsageServerToolUse as UsageServerToolUseOriginal, type UserLocation as UserLocationOriginal, type UserRequestInfo as UserRequestInfoOriginal, type V1AnthropicClaudeMessage as V1AnthropicClaudeMessageOriginal, type V1AnthropicStreamChunkContentOneOf as V1AnthropicStreamChunkContentOneOfOriginal, type V1AnthropicStreamChunkMessageDelta as V1AnthropicStreamChunkMessageDeltaOriginal, type V1AnthropicStreamChunk as V1AnthropicStreamChunkOriginal, type V1CacheControl as V1CacheControlOriginal, V1CacheControlType as V1CacheControlTypeOriginal, type V1CacheControlTypeWithLiterals as V1CacheControlTypeWithLiteralsOriginal, type V1ChatCompletionChunk as V1ChatCompletionChunkOriginal, type V1ChatCompletionMessageContentPartContentValueOneOf as V1ChatCompletionMessageContentPartContentValueOneOfOriginal, type V1ChatCompletionMessageContentPart as V1ChatCompletionMessageContentPartOriginal, type V1ChatCompletionMessageImageUrlContent as V1ChatCompletionMessageImageUrlContentOriginal, V1ChatCompletionMessageMessageRole as V1ChatCompletionMessageMessageRoleOriginal, type V1ChatCompletionMessageMessageRoleWithLiterals as V1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type V1ChatCompletionMessage as V1ChatCompletionMessageOriginal, type V1Citation as V1CitationOriginal, type V1CodeExecutionResult as V1CodeExecutionResultOriginal, type V1ContentBlockDeltaDeltaOneOf as V1ContentBlockDeltaDeltaOneOfOriginal, type V1ContentBlockDelta as V1ContentBlockDeltaOriginal, type V1ContentBlock as V1ContentBlockOriginal, type V1ContentBlockTypeOneOf as V1ContentBlockTypeOneOfOriginal, type V1ContentPart as V1ContentPartOriginal, type V1CreateChatCompletionRequest as V1CreateChatCompletionRequestOriginal, type V1CreateChatCompletionRequestResponseFormat as V1CreateChatCompletionRequestResponseFormatOriginal, type V1CreateChatCompletionRequestTool as V1CreateChatCompletionRequestToolOriginal, type V1CreateChatCompletionResponseChoice as V1CreateChatCompletionResponseChoiceOriginal, type V1CreateChatCompletionResponse as V1CreateChatCompletionResponseOriginal, type V1CreateChatCompletionResponseTokenUsage as V1CreateChatCompletionResponseTokenUsageOriginal, type V1FineTuningSpec as V1FineTuningSpecOriginal, type V1FluxPulid as V1FluxPulidOriginal, type V1ImageInput as V1ImageInputOriginal, V1ImageMediaTypeMediaType as V1ImageMediaTypeMediaTypeOriginal, type V1ImageMediaTypeMediaTypeWithLiterals as V1ImageMediaTypeMediaTypeWithLiteralsOriginal, V1ImageModel as V1ImageModelOriginal, type V1ImageModelWithLiterals as V1ImageModelWithLiteralsOriginal, type V1ImageObject as V1ImageObjectOriginal, type V1ImageUrl as V1ImageUrlOriginal, type V1InputSchema as V1InputSchemaOriginal, type V1InvokeAnthropicClaudeModelRequest as V1InvokeAnthropicClaudeModelRequestOriginal, type V1InvokeAnthropicClaudeModelResponse as V1InvokeAnthropicClaudeModelResponseOriginal, type V1McpServer as V1McpServerOriginal, type V1McpServerToolConfiguration as V1McpServerToolConfigurationOriginal, V1McpServerType as V1McpServerTypeOriginal, type V1McpServerTypeWithLiterals as V1McpServerTypeWithLiteralsOriginal, V1MessageRoleRole as V1MessageRoleRoleOriginal, type V1MessageRoleRoleWithLiterals as V1MessageRoleRoleWithLiteralsOriginal, V1Model as V1ModelOriginal, type V1ModelWithLiterals as V1ModelWithLiteralsOriginal, type V1OpenAiResponsesRequest as V1OpenAiResponsesRequestOriginal, type V1OpenAiResponsesResponse as V1OpenAiResponsesResponseOriginal, type V1OutputAnnotationAnnotationTypeOneOf as V1OutputAnnotationAnnotationTypeOneOfOriginal, type V1OutputAnnotation as V1OutputAnnotationOriginal, type V1RedactedThinking as V1RedactedThinkingOriginal, V1ResponseTypeType as V1ResponseTypeTypeOriginal, type V1ResponseTypeTypeWithLiterals as V1ResponseTypeTypeWithLiteralsOriginal, type V1ResponsesCodeInterpreterContainerAuto as V1ResponsesCodeInterpreterContainerAutoOriginal, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf as V1ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type V1ResponsesCodeInterpreterContainer as V1ResponsesCodeInterpreterContainerOriginal, type V1ResponsesCodeInterpreterImageOutput as V1ResponsesCodeInterpreterImageOutputOriginal, type V1ResponsesCodeInterpreterLogsOutput as V1ResponsesCodeInterpreterLogsOutputOriginal, type V1ResponsesCodeInterpreter as V1ResponsesCodeInterpreterOriginal, type V1ResponsesCodeInterpreterOutput as V1ResponsesCodeInterpreterOutputOriginal, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf as V1ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type V1ResponsesCodeInterpreterToolCall as V1ResponsesCodeInterpreterToolCallOriginal, type V1ResponsesFunction as V1ResponsesFunctionOriginal, type V1ResponsesFunctionToolCall as V1ResponsesFunctionToolCallOriginal, type V1ResponsesFunctionToolCallOutput as V1ResponsesFunctionToolCallOutputOriginal, type V1ResponsesInputItemItemOneOf as V1ResponsesInputItemItemOneOfOriginal, type V1ResponsesInputItem as V1ResponsesInputItemOriginal, type V1ResponsesInputMessageContentContentValueOneOf as V1ResponsesInputMessageContentContentValueOneOfOriginal, type V1ResponsesInputMessageContent as V1ResponsesInputMessageContentOriginal, type V1ResponsesInputMessage as V1ResponsesInputMessageOriginal, type V1ResponsesInputTokensDetails as V1ResponsesInputTokensDetailsOriginal, V1ResponsesModel as V1ResponsesModelOriginal, type V1ResponsesModelWithLiterals as V1ResponsesModelWithLiteralsOriginal, type V1ResponsesOutputMessage as V1ResponsesOutputMessageOriginal, type V1ResponsesOutput as V1ResponsesOutputOriginal, type V1ResponsesOutputOutputOneOf as V1ResponsesOutputOutputOneOfOriginal, type V1ResponsesOutputTokensDetails as V1ResponsesOutputTokensDetailsOriginal, type V1ResponsesReasoningContent as V1ResponsesReasoningContentOriginal, type V1ResponsesReasoning as V1ResponsesReasoningOriginal, type V1ResponsesReasoningOutput as V1ResponsesReasoningOutputOriginal, type V1ResponsesReasoningSummaryContent as V1ResponsesReasoningSummaryContentOriginal, type V1ResponsesTextFormatFormatOneOf as V1ResponsesTextFormatFormatOneOfOriginal, type V1ResponsesTextFormat as V1ResponsesTextFormatOriginal, type V1ResponsesTokenUsage as V1ResponsesTokenUsageOriginal, type V1ResponsesToolChoice as V1ResponsesToolChoiceOriginal, type V1ResponsesTool as V1ResponsesToolOriginal, type V1ResponsesToolToolTypeOneOf as V1ResponsesToolToolTypeOneOfOriginal, type V1ResponsesWebSearch as V1ResponsesWebSearchOriginal, type V1ResponsesWebSearchToolCall as V1ResponsesWebSearchToolCallOriginal, type V1SimpleContentBlock as V1SimpleContentBlockOriginal, type V1SimpleContentBlockTypeOneOf as V1SimpleContentBlockTypeOneOfOriginal, type V1Text as V1TextOriginal, type V1TextToImageRequest as V1TextToImageRequestOriginal, type V1TextToImageResponse as V1TextToImageResponseOriginal, type V1ThinkingConfig as V1ThinkingConfigOriginal, type V1Thinking as V1ThinkingOriginal, type V1TokenUsage as V1TokenUsageOriginal, type V1ToolChoice as V1ToolChoiceOriginal, V1ToolChoiceType as V1ToolChoiceTypeOriginal, type V1ToolChoiceTypeWithLiterals as V1ToolChoiceTypeWithLiteralsOriginal, type V1ToolKindOneOf as V1ToolKindOneOfOriginal, type V1Tool as V1ToolOriginal, type V1ToolResult as V1ToolResultOriginal, type V1ToolUse as V1ToolUseOriginal, type V1UrlCitation as V1UrlCitationOriginal, type V1Usage as V1UsageOriginal, VideoGenModel as VideoGenModelOriginal, type VideoGenModelWithLiterals as VideoGenModelWithLiteralsOriginal, type VideoInferenceRequest as VideoInferenceRequestOriginal, type VideoInferenceResponse as VideoInferenceResponseOriginal, type VideoInferenceTaskResult as VideoInferenceTaskResultOriginal, VideoModel as VideoModelOriginal, type VideoModelWithLiterals as VideoModelWithLiteralsOriginal, type WebFetchTool as WebFetchToolOriginal, type WebFetchToolResultContentError as WebFetchToolResultContentErrorOriginal, type WebFetchToolResultContentOneOf as WebFetchToolResultContentOneOfOriginal, type WebFetchToolResultContentSuccess as WebFetchToolResultContentSuccessOriginal, type WebFetchToolResult as WebFetchToolResultOriginal, type Web as WebOriginal, type WebSearchResultList as WebSearchResultListOriginal, type WebSearchResultLocationCitation as WebSearchResultLocationCitationOriginal, type WebSearchResult as WebSearchResultOriginal, type WebSearchTool as WebSearchToolOriginal, type WebSearchToolResultContentOneOf as WebSearchToolResultContentOneOfOriginal, type WebSearchToolResultError as WebSearchToolResultErrorOriginal, type WebSearchToolResult as WebSearchToolResultOriginal, type WebSearchUserLocation as WebSearchUserLocationOriginal, type __PublicMethodMetaInfo, generateContentByPromptObject, generateTextByPromptObjectStreamed };