Skip to content

Conversation

@olimorris
Copy link
Owner

Description

Previously, command tools did not follow the [FIFO](https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics) method. Instead, it was determined based on runtime.

This caused issues if you had heavy I/O commands (via the @files) tool or were installing packages (via the @cmd_runner) tool. Now we use the plenary method and_then_wrap to ensure that commands are sequenced correctly, based on the order in which the LLM requests them.

Unfortunately, there seems to be a bug in how vim.fn.confirm is handling these multi-chain approaches.

@olimorris olimorris merged commit 2bab6d7 into main Feb 18, 2025
4 checks passed
@olimorris olimorris deleted the fix/tool-chaining branch February 27, 2025 14:32
cleong14 pushed a commit to cleong14/codecompanion.nvim that referenced this pull request May 21, 2025
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.

2 participants