Skip to content

It crashes #389

Open
Open
@sayanb

Description

@sayanb

I just came across this project and wanted to give it a go. Apologies if this is not the right way to run this! I am running this under the root directory of a Python FastAPI project

  1. export OPENAI_API_KEY=<my-key>
  2. mycoder --provider openai --model gpt-4o -i
  3. > explain what endpoint <one of the api endpoints> does
An error occurred:
Error: Error calling OpenAI API: 400 An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: <tool-call-id>
Error: Error calling OpenAI API: 400 An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: <tool-call-id>
    at OpenAIProvider.generateText

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions