Empty AI replies orphan the conversation context #7623
Unanswered
milesian01
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
Local models have more limited context than not. It’s likely you hit 2 different context limits, which happens easily with tool outputs. We may also need to define the proper context limit for this model and I will check that. In any case, you can adjust the max context in parameters in the right side panel to test this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Note: this is ChatGPT's analysis of the attached conversation export (Available_Tools Overview.json).
What happened?
When using the DesktopCommanderMCP server, AI sometimes returns a completely empty reply (its text field is "", no error) on the very first user message or later turns. LibreChat treats that blank reply as a valid assistant turn and advances the conversation pointer so when you re-ask, all prior history is dropped.
What did you expect to happen?
Empty replies should be retried or ignored and not advance the conversation, preserving context.
Version Information
LibreChat: v0.7.8 (ghcr.io/danny-avila/librechat-dev latest 0312c0377b84 2 weeks ago 1.02GB)
Ollama v.0.8.0
Steps to Reproduce
Where to look in Available_Tools Overview.json
Available_Tools Overview.json
At messages[1]: AI reply has "text": "" immediately after the user’s “what tools are available?”
At messages[2]: the user repeats the question
At messages[3]: AI finally replies with the tool list
Later, at the turn where the user says “let’s try the apk add approach,” the AI reply is empty; after the user repeats that request, the conversation has lost all the preceding context about which command to run
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions