chat context not send (sometimes) #12481
Replies: 2 comments 1 reply
-
|
This is a known behavior in Continue related to how context compaction works. The full chat history is NOT always sent — Continue uses a sliding window or truncation strategy when the context gets large, which can cause older messages to be dropped silently. Why it happens:
How to fix / verify:
Workaround: Manually trigger compact before long sessions to keep context under control rather than letting Continue truncate silently. |
Beta Was this translation helpful? Give feedback.
-
|
I ran into a similar issue when I was working with Continue. Sometimes, the full chat history didn't get sent because Continue was using a windowing strategy to manage context size. In my situation, I found that increasing the model's maximum context length helped. Here's what I did: In the models:
name: your-model-name
provider: your-provider
model: your-model
roles: [chat]
apiBase: http://localhost:your-port
maxContextSize: 4096After making this change, I restarted my environment, and it seemed to help with maintaining more of the chat history in the context. Just make sure that your model and provider can handle the increased context size. If you're using OpenAI, they typically support configurations like this, but it's always a good idea to check the compatibility with your specific model and provider. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I assume that the whole chat is send as context, since you can 'compact' it. But looks like sometimes this is sometimes not happening.
previous message not included:

single message:

Beta Was this translation helpful? Give feedback.
All reactions