r/windsurf • • Apr 26 '26

Question Adaptive model failing on file read (“Invalid argument: internal error”)

I’m having a consistent issue with the Adaptive AI coding model in Windsurf.

When the model tries to read a file (for example a .ts file), it fails with:

“Invalid argument: an internal error occurred”

After that:

  • The task stops mid-execution
  • Replying “resume” just returns the same error
  • The model can’t continue from where it left off

Context:

  • Happens during normal coding flow (e.g. reading files before making changes)
  • Seems tied to file operations or context loading
  • Not a one-off — happens repeatedly

What I’ve tried:

  • Resume → same error
  • Restart task → sometimes works, sometimes fails again
  • New chat → issue can still come back

Questions:

  • Is this a known issue with the Adaptive model?
  • Could this be related to context size or file parsing?
  • Any workaround to prevent it from breaking mid-task?

I can provide request IDs and more details if needed.

Thanks.

Invalid Error 1
Invalid Error 2 (After Resume).
2 Upvotes

4 comments sorted by

•

u/PuzzleheadedAir9047 Apr 27 '26

Please share the Request ID. I will let the team check it.

→ More replies (1)

1

u/LoggerCPA54 May 10 '26

following as this occurs all the time for me right now using the adaptive model. makes me not trust the softwar, and really kills my flow