Skip to content

minimax/minimax-m2:free Always throw Error #16

Description

@madebyaris

Problem

When I tried to do stuff or ask something, the minimax always gave me this error:

Image

this is the result from your error output:

{
  "error": {
    "message": "400 Chat completion failed",
    "stack": "Error: 400 Chat completion failed\n    at _APIError.generate (file:///usr/local/kolosal-app/lib/bundle/gemini.js:44178:18)\n    at OpenAI.makeStatusError (file:///usr/local/kolosal-app/lib/bundle/gemini.js:50812:25)\n    at OpenAI.makeRequest (file:///usr/local/kolosal-app/lib/bundle/gemini.js:50947:28)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///usr/local/kolosal-app/lib/bundle/gemini.js:71570:27\n    at async ContentGenerationPipeline.executeWithErrorHandling (file:///usr/local/kolosal-app/lib/bundle/gemini.js:71748:26)\n    at async retryWithBackoff (file:///usr/local/kolosal-app/lib/bundle/gemini.js:73448:14)\n    at async GeminiChat.makeApiCallAndProcessStream (file:///usr/local/kolosal-app/lib/bundle/gemini.js:127933:33)\n    at async file:///usr/local/kolosal-app/lib/bundle/gemini.js:127888:33\n    at async Turn.run (file:///usr/local/kolosal-app/lib/bundle/gemini.js:25174:28)"
  },
  "context": [
    {
      "role": "user",
      "parts": [
        {
          "text": "This is the Kolosal Cli. We are setting up the context for our chat.\nToday's date is Monday, November 24, 2025 (formatted according to the user's locale).\nMy operating system is: darwin\nI'm currently working in the directory: /Volumes/app/self-project/colosaros/visual-appearance\nHere is the folder structure of the current working directories:\n\nShowing up to 20 items (files + folders).\n\n/Volumes/app/self-project/colosaros/visual-appearance/"
        }
      ]
    },
    {
      "role": "model",
      "parts": [
        {
          "text": "Got it. Thanks for the context!"
        }
      ]
    },
    {
      "role": "user",
      "parts": [
        {
          "text": "test"
        }
      ]
    },
    {
      "role": "model",
      "parts": [
        {
          "functionCall": {
            "id": "call_26f42a93b7fe",
            "name": "list_directory",
            "args": {
              "path": "/Volumes/app/self-project/colosaros/visual-appearance/"
            }
          }
        }
      ]
    },
    {
      "role": "user",
      "parts": [
        {
          "functionResponse": {
            "id": "call_26f42a93b7fe",
            "name": "list_directory",
            "response": {
              "output": "Directory /Volumes/app/self-project/colosaros/visual-appearance/ is empty."
            }
          }
        }
      ]
    },
    {
      "role": "model",
      "parts": [
        {
          "text": "The directory `/Volumes/app/self-project/colosaros/visual-appearance/` is currently empty. Let me know how you'd like to proceed—whether you'd like to create a new file, set up a project, or explore further."
        }
      ]
    },
    [
      "help me to buil dashboard html"
    ]
  ]
}%          

Fix it, I think it's related from your server

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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