ProxyAI plugin chat doesn't work with online model

Open
#1,165 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
kotlin

Research direction

Reproduce the failure in the ProxyAI plugin chat using an online Mistral model and the reported CodeGPT version. Start by tracing the plugin’s online-model request and response handling, but the issue does not identify a file or test. Done means the chat request no longer returns the 400 invalid_request_assistant_message error.

Written by the indexing model from the issue text.

Description

bug
What happened?

ProxyAI plugin is not working with online Mistral model. When attempting to use the plugin chat, the following error is returned:

Unknown API response. Code: 400, Body:

{
  "object": "error",
  "message": "At least one content or tool_calls should be non-empty. Got content='' and tool_calls=[]",
  "type": "invalid_request_assistant_message",
  "param": null,
  "code": "3240"
}
Relevant log output or stack trace

Steps to reproduce

No response

CodeGPT version

3.6.6-241.1

Operating System

Windows

Dominant language
Kotlin
Stars
1.9k
Forks
401
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from carlrobertoh/ProxyAI

All issues in carlrobertoh/ProxyAI

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.