Skip to content

Commit

Permalink
fix: Remove optional checker
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipZmijewski authored Feb 4, 2025
1 parent f818281 commit 0dc5cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain-community/src/chat_models/ibm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ export class ChatWatsonx<
ls_provider: "watsonx",
ls_model_name: this.model,
ls_model_type: "chat",
ls_temperature: params?.temperature ?? undefined,
ls_max_tokens: params?.maxTokens ?? undefined,
ls_temperature: params.temperature ?? undefined,
ls_max_tokens: params.maxTokens ?? undefined,
};
}

Expand Down

0 comments on commit 0dc5cac

Please sign in to comment.