You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@langchain/openai

Package Overview
Dependencies
Maintainers
10
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/openai - npm Package Compare versions

Comparing version
0.5.15
to
0.5.16
+10
-0
dist/chat_models.d.ts

@@ -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;

@@ -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