Skip to content

ChatGroq errors on multiple submissions #25

Open
@cpsievert

Description

@cpsievert

Seems chatlas needs workarounds similar to tidyverse/ellmer#224

from chatlas import ChatGroq

chat = ChatGroq()
chat.chat("Tell me about New Zealand?")
chat.chat("What's its capital?")
openai.BadRequestError: Error code: 400 - {'error': {'message': "'messages.1' : for 'role:assistant' the following must be satisfied[('messages.1.content' : value must be a string)]", 'type': 'invalid_request_error'}}

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