@cellaware/utils 5.4.17 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -202,6 +202,9 @@ Your translation here:
202
202
  if (!!options.openai.reasoning_effort) {
203
203
  llmArgs.reasoning_effort = options.openai.reasoning_effort;
204
204
  }
205
+ if (!!options.openai.verbosity) {
206
+ llmArgs.verbosity = options.openai.verbosity;
207
+ }
205
208
  }
206
209
  const llm = new ChatOpenAI(llmArgs);
207
210
  const chain = new SingleActionChain({
package/dist/llm/cost.js CHANGED
@@ -1,4 +1,4 @@
1
- // https://openai.com/api/pricing/
1
+ // https://platform.openai.com/docs/pricing
2
2
  export function getLLMCostPerToken(modelName) {
3
3
  let inputCost = 0.0;
4
4
  let outputCost = 0.0;
@@ -1,7 +1,9 @@
1
1
  export type ModelName = 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'o1' | 'o1-mini' | 'o3' | 'o3-mini' | 'o4-mini';
2
- export type ReasoningEffort = 'low' | 'medium' | 'high';
2
+ export type ReasoningEffort = 'minimal' | 'low' | 'medium' | 'high';
3
+ export type Verbosity = 'low' | 'medium' | 'high';
3
4
  export interface OpenAIModelOptions {
4
5
  reasoning_effort?: ReasoningEffort;
6
+ verbosity?: Verbosity;
5
7
  }
6
8
  export interface ModelOptions {
7
9
  modelName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "5.4.17",
3
+ "version": "5.5.0",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",