Skip to content

[BUG] The smart decsison maker block cannot output datastructures to two different dictionary formats #10761

@ntindle

Description

@ntindle

Sentry Issue: AUTOGPT-SERVER-5BA

�[31m[LLM-Block] Anthropic API error: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'tools: Tool names must be unique.'}, 'request_id': 'req_011CSZ4DYHkHMoqygo6q3xyw'} �[0m

The issue here is that Anthropic doesn't allow multiple tools to have the same name, and we don't have this restriction. We should probably dynamically name the tools in a deterministic but non-conflicting manner to avoid this issue for users, as I thought this would work.

With the introduction of renaming blocks, we should check if the block has been renamed and use that metadata (front end shows where its stored) and build based on that.

Example Agent format:

image.png

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions