Skip to content

fix(provider,client): improve tool call merging and filtering#1552

Merged
deathbeam merged 1 commit intoCopilotC-Nvim:mainfrom
deathbeam:asfsfsfs
Apr 15, 2026
Merged

fix(provider,client): improve tool call merging and filtering#1552
deathbeam merged 1 commit intoCopilotC-Nvim:mainfrom
deathbeam:asfsfsfs

Conversation

@deathbeam
Copy link
Copy Markdown
Collaborator

@deathbeam deathbeam commented Apr 15, 2026

  • Refactor tool call merging logic to use id, index, or name as key,
    ensuring more robust accumulation of streaming tool call deltas.
  • Update tool call filtering to exclude entries without a name,
    preventing incomplete tool calls from being returned.
  • Remove fallback default values for id, index, and name in provider
    output, ensuring only valid tool call data is included.
  • Minor formatting adjustment in init.lua.

- Refactor tool call merging logic to use id, index, or name as key,
  ensuring more robust accumulation of streaming tool call deltas.
- Update tool call filtering to exclude entries without a name,
  preventing incomplete tool calls from being returned.
- Remove fallback default values for id, index, and name in provider
  output, ensuring only valid tool call data is included.
- Minor formatting adjustment in init.lua.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@deathbeam deathbeam changed the title asfsfsfs fix(provider,client): improve tool call merging and filtering Apr 15, 2026
@deathbeam deathbeam merged commit 1372a57 into CopilotC-Nvim:main Apr 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant