Skip to content

Conversation

@PiotrCzapla
Copy link
Contributor

Streaming allows users to start reading the response as soon as the first fragment is generated by the API, significantly improving perceived speed.

litellm is now imported lazily so that a spinner can be shown while it loads and sends the first response. This makes the ssage command feel faster and more responsive.

Added support for Ctrl+C, letting users interrupt ssage mid-sentence — perfect for recalling an exact command and skipping the rest of the explanation.
Example:

ssage gh mk pr
I can see you're trying to create a pull request with GitHub CLI, but the command syntax isn't quite right.

The correct command is:

gh pr create

This will interactively prompt you
Interrupted.

Here is how this pr looks like in action:

output.mp4

PS. how do you clean the diffs of Jupyter notebooks (apart of nbdev_clean)? The vscode gets very confused with the diffs so I end up working on raw json file. :(

@gitnotebooks
Copy link

gitnotebooks bot commented Nov 7, 2025

Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/AnswerDotAI/shell_sage/pull/63

Streaming allows users to start reading the response as soon as the first fragment is generated by the API, significantly improving perceived speed.

litellm is now imported lazily so that a spinner can be shown while it loads and sends the first response. This makes the ssage command feel faster and more responsive.

Added support for Ctrl+C, letting users interrupt ssage mid-sentence — perfect for recalling an exact command and skipping the rest of the explanation.
Example:
```py
ssage gh mk pr
I can see you're trying to create a pull request with GitHub CLI, but the command syntax isn't quite right.

The correct command is:
```
 gh pr create
```
This will interactively prompt you
Interrupted.
```
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