Skip to content

Add support ToolChoice::Any for Groq Provider #478

@incoming-th

Description

@incoming-th

Hi,

The provider Groq is missing the ToolChoice:: Any in the Maps\ToolChoiceMap.php:

Image

From the Groq API documentation, it seems the 'required' use of a tool is supported:

https://console.groq.com/docs/api-reference#chat-create

Image

The Prism documentation is not mentionning any limitation on that, so I believe it to be a bug (or missing piece):

Image

Hope this can be be enhanced!

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions