Apply corruption in vscode #11432
Unanswered
chrisdrumz
asked this question in
Help
Replies: 1 comment 1 reply
-
|
Hey, I had a similar issue but with local models. I'm positive that both thinking/reasoning and model context length are the primary cause. Sometimes reasoning tags like would "leak" into the code snippets and cause errors too. Bumping up the context on the apply model and switching to a non-reasoning apply model fixed this issue for me. For what it's worth, here's the config.yaml I'm using: |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I can't for the life of me get apply to work reliably in medium to large files. Agent or manual apply. Using latest release or pre release in Win 11. Tried with gpt-5.2, and Gemini 3.1 pro through openAI compat. Api through Open WebUI.
All openwebui reverse proxy related settings have been implemented.
Typically lazy blocks or occasionally conversational text gets added to my file, and everything else gets removed... Often VScode hangs during apply.
Is fast apply supposed to work for lazy blocked suggestions in ~2000 line files? It seems to fail, and then llm fallback ends up trying to replace my entire file with just the llm suggestion.
Doesn't seem to matter if the the function has lazy blocks or not.
I system prompted the apply model to output a diff patch but it came through as a thousand code blocks, one for each line of code.. Even with streaming off..
I figured out that adding a system prompt to the apply model forces continue to use chat api VS completion api. But still broken applies.
I tried adding "gpt" to model name to force a different apply path.
I've tried with and without streaming.
I did notice I'm getting "file does not exist in ast tracker" errors in VScode console, but I don't think is related to the fast apply tree sitter stuff.
Any tips or ideas would help. Maybe I need to configure mitmproxy to see the raw data...
Beta Was this translation helpful? Give feedback.
All reactions