Skip to content

Commit

Permalink
make sure guardrailConfig can be added even with anthropic models
Browse files Browse the repository at this point in the history
  • Loading branch information
madmed88 committed Jan 17, 2025
1 parent ff0dc58 commit 5c83d72
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 5c83d72

Please sign in to comment.