Skip to content

Commit bb1e7a4

Browse files
committed
fix: merge error fixed
1 parent 1cd5cd6 commit bb1e7a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/framework/src/providers/openai_response_functions.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { randomUUID } from 'node:crypto'
22

3-
import OpenAI from 'openai'
3+
import OpenAI, { ClientOptions } from 'openai'
44

55
import { Provider, responseAsToolCall, toLLMTools } from '../models.js'
66
import { OpenAIProviderOptions as BaseOpenAIProviderOptions } from './openai.js'
77

88
/**
99
* Required options for the OpenAI-compatible provider.
1010
*/
11-
export type OpenAIProviderOptions = BaseOpenAIProviderOptions &
11+
export type OpenAIProviderOptions = BaseOpenAIProviderOptions & {
1212
/**
1313
* Since this is meant to be used with OpenAI-compatible providers,
1414
* we do not provide any defaults.
@@ -44,7 +44,7 @@ export const openai = (options: OpenAIProviderOptions): Provider => {
4444
tools: [...tools, ...responseAsToolCall(response_format, strictMode)],
4545
messages,
4646
temperature,
47-
tool_choice: 'required'
47+
tool_choice: 'required',
4848
})
4949

5050
/**

0 commit comments

Comments
 (0)