@ai-sdk/openai
Advanced tools
+6
-0
@@ -232,5 +232,8 @@ import * as _ai_sdk_provider from '@ai-sdk/provider'; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -258,5 +261,8 @@ }; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -263,0 +269,0 @@ } | null | undefined; |
+6
-0
@@ -232,5 +232,8 @@ import * as _ai_sdk_provider from '@ai-sdk/provider'; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -258,5 +261,8 @@ }; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -263,0 +269,0 @@ } | null | undefined; |
@@ -285,5 +285,8 @@ import { LanguageModelV3, LanguageModelV3CallOptions, LanguageModelV3GenerateResult, LanguageModelV3StreamResult, EmbeddingModelV3, ImageModelV3, TranscriptionModelV3CallOptions, TranscriptionModelV3, SpeechModelV3, JSONValue } from '@ai-sdk/provider'; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -311,5 +314,8 @@ }; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -316,0 +322,0 @@ } | null | undefined; |
@@ -285,5 +285,8 @@ import { LanguageModelV3, LanguageModelV3CallOptions, LanguageModelV3GenerateResult, LanguageModelV3StreamResult, EmbeddingModelV3, ImageModelV3, TranscriptionModelV3CallOptions, TranscriptionModelV3, SpeechModelV3, JSONValue } from '@ai-sdk/provider'; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -311,5 +314,8 @@ }; | ||
| cached_tokens?: number | null | undefined; | ||
| orchestration_input_tokens?: number | null | undefined; | ||
| orchestration_input_cached_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null | undefined; | ||
| orchestration_output_tokens?: number | null | undefined; | ||
| } | null | undefined; | ||
@@ -316,0 +322,0 @@ } | null | undefined; |
+1
-1
| { | ||
| "name": "@ai-sdk/openai", | ||
| "version": "3.0.73", | ||
| "version": "3.0.74", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -8,5 +8,8 @@ import type { LanguageModelV3Usage } from '@ai-sdk/provider'; | ||
| cached_tokens?: number | null; | ||
| orchestration_input_tokens?: number | null; | ||
| orchestration_input_cached_tokens?: number | null; | ||
| } | null; | ||
| output_tokens_details?: { | ||
| reasoning_tokens?: number | null; | ||
| orchestration_output_tokens?: number | null; | ||
| } | null; | ||
@@ -13,0 +16,0 @@ }; |
@@ -503,7 +503,14 @@ import type { JSONObject, JSONSchema7, JSONValue } from '@ai-sdk/provider'; | ||
| input_tokens_details: z | ||
| .object({ cached_tokens: z.number().nullish() }) | ||
| .object({ | ||
| cached_tokens: z.number().nullish(), | ||
| orchestration_input_tokens: z.number().nullish(), | ||
| orchestration_input_cached_tokens: z.number().nullish(), | ||
| }) | ||
| .nullish(), | ||
| output_tokens: z.number(), | ||
| output_tokens_details: z | ||
| .object({ reasoning_tokens: z.number().nullish() }) | ||
| .object({ | ||
| reasoning_tokens: z.number().nullish(), | ||
| orchestration_output_tokens: z.number().nullish(), | ||
| }) | ||
| .nullish(), | ||
@@ -528,7 +535,14 @@ }), | ||
| input_tokens_details: z | ||
| .object({ cached_tokens: z.number().nullish() }) | ||
| .object({ | ||
| cached_tokens: z.number().nullish(), | ||
| orchestration_input_tokens: z.number().nullish(), | ||
| orchestration_input_cached_tokens: z.number().nullish(), | ||
| }) | ||
| .nullish(), | ||
| output_tokens: z.number(), | ||
| output_tokens_details: z | ||
| .object({ reasoning_tokens: z.number().nullish() }) | ||
| .object({ | ||
| reasoning_tokens: z.number().nullish(), | ||
| orchestration_output_tokens: z.number().nullish(), | ||
| }) | ||
| .nullish(), | ||
@@ -1382,7 +1396,14 @@ }) | ||
| input_tokens_details: z | ||
| .object({ cached_tokens: z.number().nullish() }) | ||
| .object({ | ||
| cached_tokens: z.number().nullish(), | ||
| orchestration_input_tokens: z.number().nullish(), | ||
| orchestration_input_cached_tokens: z.number().nullish(), | ||
| }) | ||
| .nullish(), | ||
| output_tokens: z.number(), | ||
| output_tokens_details: z | ||
| .object({ reasoning_tokens: z.number().nullish() }) | ||
| .object({ | ||
| reasoning_tokens: z.number().nullish(), | ||
| orchestration_output_tokens: z.number().nullish(), | ||
| }) | ||
| .nullish(), | ||
@@ -1389,0 +1410,0 @@ }) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3716525
0.31%40273
0.3%