Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 18, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

hannesrudolph and others added 6 commits December 17, 2025 22:33
…g whitespace

The main bug fix was we were calling .trim() on the autocomplete result, which would remove leading whitespace, preventing us from properly spacing out words in the completion. Now we do not trim the autocomplete result and just do simple prefix matching before appending it onto the user's chat text

- Introduced removePrefixOverlap function to handle prefix removal logic, improving code clarity and maintainability.
- Updated postprocessCompletion to utilize the new function for handling completions from specific models (mercury, granite).
- Added comprehensive tests for removePrefixOverlap to ensure correct functionality across various scenarios.
- Adjusted ChatTextAreaAutocomplete to integrate the new prefix removal logic, enhancing user experience with autocomplete suggestions.
feat: add gemini-3-flash-preview model
Fix chat autocomplete to properly handle incomplete words and trailing whitespace
@pull pull bot locked and limited conversation to collaborators Dec 18, 2025
@pull pull bot added the ⤵️ pull label Dec 18, 2025
@pull pull bot merged commit db83566 into zimushui:main Dec 18, 2025
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants