Skip to content

content cannot be a list when gpt-3.5-turbo is called. For models that support text input only, string only #33

@Zapzatron

Description

@Zapzatron
openai.BadRequestError: Error code: 400 - {'error': {'type': 'invalid_request_error', 'message': [{'type': 'value_error', 'loc': ['body'], 'msg': 'Value error, This model does not support multimodal requests', 'input': {'messages': [{'role': 'system', 'content': [{'type': 'text', 'text': "You are ChatGPT, a large language model trained by OpenAI.\nCarefully heed the user's instructions. \nRespond using Markdown."}]}, {'role': 'user', 'content': [{'type': 'text', 'text': 'Hi'}]}], 'model': 'gpt-3.5-turbo', 'frequency_penalty': 0, 'max_tokens': 2000, 'presence_penalty': 0, 'stream': False, 'temperature': 1, 'top_p': 1}, 'ctx': {'error': {}}}], 'tip': None}}

content cannot be a list when gpt-3.5-turbo is called. For models that support text input only, string only
I usually don't call gpt-3.5-turbo from the interface, but it may be relevant for someone.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions