Skip to content

Commit

Permalink
feat(watsonx): make second parameter in preset required
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Sep 3, 2024
1 parent 19328cb commit 6d45901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/watsonx/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class WatsonXChatLLM extends ChatLLM<WatsonXChatLLMOutput, WatsonXLLMPara

static fromPreset(
modelId: WatsonXChatLLMPresetModel,
overrides?: Omit<WatsonXLLMInput, "parameters" | "modelId"> & {
overrides: Omit<WatsonXLLMInput, "parameters" | "modelId"> & {
parameters?: WatsonXLLMParameters | ((value: WatsonXLLMParameters) => WatsonXLLMParameters);
},
) {
Expand Down

0 comments on commit 6d45901

Please sign in to comment.