@langchain/openai
Advanced tools
@@ -274,3 +274,3 @@ import { type ClientOptions, OpenAI as OpenAIClient } from "openai"; | ||
| _generate(messages: BaseMessage[], options: this["ParsedCallOptions"]): Promise<ChatResult>; | ||
| _streamResponseChunks(messages: BaseMessage[], options: this["ParsedCallOptions"]): AsyncGenerator<ChatGenerationChunk>; | ||
| _streamResponseChunks(messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMRun): AsyncGenerator<ChatGenerationChunk>; | ||
| /** | ||
@@ -876,2 +876,3 @@ * Calls the Responses API with retry logic in case of failures. | ||
| export declare class ChatOpenAI<CallOptions extends ChatOpenAICallOptions = ChatOpenAICallOptions> extends BaseChatOpenAI<CallOptions> { | ||
| protected fields?: ChatOpenAIFields | undefined; | ||
| /** | ||
@@ -885,3 +886,3 @@ * Whether to use the responses API for all requests. If `false` the responses API will be used | ||
| get lc_serializable_keys(): string[]; | ||
| constructor(fields?: ChatOpenAIFields); | ||
| constructor(fields?: ChatOpenAIFields | undefined); | ||
| protected _useResponsesApi(options: this["ParsedCallOptions"] | undefined): boolean; | ||
@@ -888,0 +889,0 @@ getLsParams(options: this["ParsedCallOptions"]): LangSmithParams; |
+1
-1
| { | ||
| "name": "@langchain/openai", | ||
| "version": "0.6.3", | ||
| "version": "0.6.4", | ||
| "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
454409
0.23%12277
0.19%