Skip to content

[Bug]: When using Bedrock, toolConfig is not defined causing failures. #160

@ThatServerGuy

Description

@ThatServerGuy

Affected Component

External Integrations (LLM/Search APIs)

Describe the bug

With any model on Bedrock I get failures in line with this:
Error: converse API call failed: operation error Bedrock Runtime: Converse, https response error StatusCode: 400, RequestID: fb82c3b1-af04-4405-8958-999d7a5e39c4, ValidationException: The toolConfig field must be defined when using toolUse and toolResult content blocks.

Steps to Reproduce

Create new provider, set bedrock as provider, test with any model.

System Configuration

N\A

Logs and Artifacts

No response

Screenshots or Recordings

Image

Verification

  • I have checked that this issue hasn't been already reported
  • I have provided all relevant configuration files (with sensitive data removed)
  • I have included relevant logs and error messages
  • I am running the latest version of PentAGI

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions