carlrobertoh / CodeGPT

The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like.
https://codegpt.ee
Apache License 2.0
1.1k stars 231 forks source link

sometimes the response is cut off and the full response is not displayed #768

Closed LightToDo closed 6 days ago

LightToDo commented 6 days ago

What happened?

Hello, I use Jetbrain IDEA. Here's a bug. When using the custom OpenAI provider(Mistral AI), the model's response gets cut off after I give it a prompt to chat. However, when I close the current chat tab and reopen it from the chat history, the previously cut-off response is shown in full. This issue occurs frequently when using the Google Gemini provider.

Relevant log output or stack trace

No response

Steps to reproduce

  1. Open a chat tab, chat 1.
  2. Type in any prompt.
  3. Send the prompt.
  4. Wait for the response to populate.
  5. Once the response is complete, review the response, but sometimes the response is cut off and the full response is not displayed.
  6. Open a new chat tab, chat 2.
  7. Close the other chat tab, the chat 1.
  8. Open chat history, select the conversation for the chat 1.
  9. Chat 2 tab, that is the chat 1, appears, review the response, the full response is now visible.

CodeGPT version

2.12.4-241.1

Operating System

Windows

carlrobertoh commented 6 days ago

Seems to be related to #757. This will be fixed in the next release.