Skip to content

Nova doesn't support the toolConfig.toolChoice.any field #92

@Wh1isper

Description

@Wh1isper

Describe the bug

This seems not enough for all model: https://github.com/aws-samples/bedrock-access-gateway/blob/main/src/api/models/bedrock.py#L431

if chat_request.tool_choice and not chat_request.model.startswith("meta.llama3-1-"):

Please complete the following information:

  • Which API you used: [e.g. /chat/completions]
  • Which model you used: [e.g. anthropic.claude-3-sonnet-20240229-v1:0]

To Reproduce
Steps to reproduce the behavior. If possible, please share an example request.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    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