Skip to content

Antropic chat / completion translation driver is mistaken in tool_choice format. #14690

@HarrievG

Description

@HarrievG

Should this not be in line with the chat completions api?

messages.tool_choice = request_table.tool_choice

Currently, when using the chat completions api with tools :

{"type":"error","error":{"type":"invalid_request_error","message":"tool_choice: Input should be a valid dictionary or object to extract fields from"}}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions