Skip to content

Commit

Permalink
fix(community): make sure guardrailConfig can be added even with anth…
Browse files Browse the repository at this point in the history
…ropic models (#7542)
  • Loading branch information
madmed88 authored Jan 18, 2025
1 parent 74c06a5 commit 9804d8f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/langchain-community/src/utils/bedrock/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ export class BedrockLLMInputOutputAdapter {
if (tools.length > 0) {
inputBody.tools = tools;
}
return { ...inputBody, ...modelKwargs };
} else if (provider === "cohere") {
const {
system,
Expand Down

0 comments on commit 9804d8f

Please sign in to comment.