@langchain/openai
Advanced tools
@@ -161,2 +161,7 @@ import { type ClientOptions, OpenAI as OpenAIClient } from "openai"; | ||
| previous_response_id?: ResponsesCreateParams["previous_response_id"]; | ||
| /** | ||
| * Service tier to use for this request. Can be "auto", "default", or "flex" | ||
| * Specifies the service tier for prioritization and latency optimization. | ||
| */ | ||
| service_tier?: ResponsesCreateParams["service_tier"]; | ||
| } | ||
@@ -775,2 +780,7 @@ export interface ChatOpenAIFields extends Partial<OpenAIChatInput>, BaseChatModelParams { | ||
| zdrEnabled?: boolean | undefined; | ||
| /** | ||
| * Service tier to use for this request. Can be "auto", "default", or "flex" or "priority". | ||
| * Specifies the service tier for prioritization and latency optimization. | ||
| */ | ||
| service_tier?: ResponsesCreateParams["service_tier"]; | ||
| constructor(fields?: ChatOpenAIFields); | ||
@@ -777,0 +787,0 @@ getLsParams(options: this["ParsedCallOptions"]): LangSmithParams; |
+5
-0
@@ -159,2 +159,7 @@ import type { OpenAI as OpenAIClient } from "openai"; | ||
| zdrEnabled?: boolean; | ||
| /** | ||
| * Service tier to use for this request. Can be "auto", "default", or "flex" or "priority". | ||
| * Specifies the service tier for prioritization and latency optimization. | ||
| */ | ||
| service_tier?: OpenAIClient.Responses.ResponseCreateParams["service_tier"]; | ||
| } | ||
@@ -161,0 +166,0 @@ export declare interface AzureOpenAIInput { |
+1
-1
| { | ||
| "name": "@langchain/openai", | ||
| "version": "0.5.15", | ||
| "version": "0.5.16", | ||
| "description": "OpenAI integrations for LangChain.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
437530
0.57%11835
0.5%