File: lua/model_cmp/commands.lua:57
Feature Introduction: Currently uses a fixed delay timer. If the user is typing fast, the request fires mid-word with incomplete context. Adaptive debounce waits for a typing pause and uses the latest cursor position.
Feature Description:
- If user is typing fast (multiple keystrokes within the delay window), keep resetting the timer
- When user pauses (no keystrokes for the delay period), fire the request immediately
- Record the cursor position at fire time (not at first keystroke)
Is your feature possible with the current status of repo? Yes. Simple timer reset logic change in commands.lua.
File:
lua/model_cmp/commands.lua:57Feature Introduction: Currently uses a fixed delay timer. If the user is typing fast, the request fires mid-word with incomplete context. Adaptive debounce waits for a typing pause and uses the latest cursor position.
Feature Description:
Is your feature possible with the current status of repo? Yes. Simple timer reset logic change in
commands.lua.