@empiricalrun/llm
Advanced tools
Comparing version 0.9.2 to 0.9.3
# @empiricalrun/llm | ||
## 0.9.3 | ||
### Patch Changes | ||
- cce6ced: feat: base changes for enabling o1 & using it for update using master agent scenario | ||
## 0.9.2 | ||
@@ -4,0 +10,0 @@ |
@@ -57,5 +57,5 @@ "use strict"; | ||
messages, | ||
model, | ||
model: model, | ||
tools, | ||
max_tokens: 1000, | ||
max_completion_tokens: 1000, | ||
...modelParameters, | ||
@@ -62,0 +62,0 @@ stream: false, |
@@ -7,3 +7,3 @@ import OpenAI from "openai"; | ||
export type LLMProvider = "openai" | "google" | "anthropic"; | ||
export type LLMModel = "gpt-3.5-turbo" | "gpt-4" | "gpt-4o" | "gpt-4o-mini" | "gpt-4o-2024-08-06" | "claude-3-5-sonnet-20240620" | "gemini-1.5-flash-latest" | "gemini-1.5-pro-latest"; | ||
export type LLMModel = "gpt-3.5-turbo" | "gpt-4" | "gpt-4o" | "gpt-4o-mini" | "gpt-4o-2024-08-06" | "claude-3-5-sonnet-20240620" | "gemini-1.5-flash-latest" | "gemini-1.5-pro-latest" | "o1-preview" | "o1-mini"; | ||
export interface ModelParameters { | ||
@@ -13,3 +13,3 @@ frequency_penalty?: number | null; | ||
logprobs?: boolean | null; | ||
max_tokens?: number | null; | ||
max_completion_tokens?: number | null; | ||
n?: number | null; | ||
@@ -16,0 +16,0 @@ presence_penalty?: number | null; |
{ | ||
"name": "@empiricalrun/llm", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"main": "dist/index.js", | ||
@@ -28,3 +28,3 @@ "exports": { | ||
"langfuse": "^3.19.0", | ||
"openai": "^4.55.4", | ||
"openai": "^4.67.0", | ||
"portkey-ai": "^1.3.2" | ||
@@ -31,0 +31,0 @@ }, |
Sorry, the diff of this file is not supported yet
151642
Updatedopenai@^4.67.0