feat: add streaming output, model selection with dropdown, and fallback - #35
Closed
Dhairya0707 wants to merge 2 commits into
Closed
feat: add streaming output, model selection with dropdown, and fallback#35Dhairya0707 wants to merge 2 commits into
Dhairya0707 wants to merge 2 commits into
Conversation
Owner
|
Hi @Dhairya0707! Thanks for the contribution. The merge conflicts appeared after PR #34 was merged into Thanks! |
|
@Dhairya0707 is attempting to deploy a commit to the houssemeddinechaouch's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
Done it checkout it |
abusnitsky
reviewed
Jul 15, 2026
| return { toolName, args, reason }; | ||
| } | ||
|
|
||
| async function runAgent(userInput, messages = []) { |
Contributor
There was a problem hiding this comment.
Why remove messages = []?
abusnitsky
reviewed
Jul 15, 2026
| @@ -72,11 +72,27 @@ async function runAgent(userInput, messages = []) { | |||
| messages.push({ role: "user", content: userInput }); | |||
Contributor
There was a problem hiding this comment.
But still use it? Did you test this after fixing the conflicts?
Contributor
|
Wouldn't it be better to break this down into three separate, simpler issues? Right now, it's a bit hard to understand and review all at once. |
Contributor
Author
|
Sure Just 10 min |
Contributor
Author
|
I've split this into 2 cleaner PRs for easier review:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR introduces streaming output and an interactive, real-time dropdown selection menu for choosing models within the CLI.
Streaming output:
Interactive model selection:
/model, the CLI clears the prompt and transitions into an interactive select mode./modelto trigger the dropdown, or type/model <model-name>directly).Type of change
How to test it
helloand observe the response stream in token-by-token./modelinto the prompt and observe the select menu:list filesand observe the tool execute with the final answer streaming.Related issues
Closes #21