Skip to content

Problem setting the models (Groq and Azure openai) #329

Open
@tiagovinuto

Description

@tiagovinuto

Good morning everything is fine?
I'm getting the error below when I'm using the web interface, after sending a message. I'm using GROQ. The key is configured correctly. Where in the code could this be happening and how can I fix it?

Error:
400 {"error":{"message":"tool_choice":value must be string (auto or none) or an object like '{'type': 'function', 'function':{'name':'my_function'}}'","type":"invalid_request_error"}}
I would also like to know if I need to make any specific changes to use the azure openai templates. I'm asking this because I configured the .env correctly and still my templates don't appear in the interface. Can you help me with this too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions