Skip to content

Commit

Permalink
chore: make 3rd parameter is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
lh0x00 committed Nov 16, 2023
1 parent 3707a90 commit 10a007c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/client/src/client/PezzoOpenAI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Completions {
async create(
_arg1: PezzoCreateChatCompletionRequest | OpenAIChatCompletionCreateParams,
pezzoOptions: PezzoProps = {},
openaiOptions: Parameters<OpenAI["chat"]["completions"]["create"]>[1]
openaiOptions?: Parameters<OpenAI["chat"]["completions"]["create"]>[1]
): Promise<OpenAI.Chat.ChatCompletion> {
const arg1 = _arg1 as PezzoCreateChatCompletionRequest;

Expand Down

0 comments on commit 10a007c

Please sign in to comment.