Skip to content

Strands Agentic tools get errors #456

Description

@nullfunc

Repro:

  1. (pending sample) configure strand agentic sample to use anthropic model on openai-access-gateway
  2. make a prompt which will trigger the tool (e.g. "show me books about mid-century fashion")

Expected: Receive response from LLM with information about books
Actual: Get "Error in /chat endpoint"

Analysis: The issue appears to be coming from the openai-access-gateway. With a few issues:

  • schema not properly matching message structure
  • anthropic model generates data which causes the content to not be recognized
  • anthropic "usage" is not properly mapped to openai format

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions