-
Notifications
You must be signed in to change notification settings - Fork 79
Remove this line #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove this line #229
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -390,8 +390,6 @@ func newRunCmd() *cobra.Command { | |||||
| } | ||||||
|
|
||||||
| scanner := bufio.NewScanner(os.Stdin) | ||||||
| cmd.Println("Interactive chat mode started. Type '/bye' to exit.") | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While reducing verbosity is a good goal, removing the hint for the
Suggested change
|
||||||
|
|
||||||
| for { | ||||||
| userInput, err := readMultilineInput(cmd, scanner) | ||||||
| if err != nil { | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,7 +72,6 @@ examples: |- | |
| Output: | ||
|
|
||
| ```console | ||
| Interactive chat mode started. Type '/bye' to exit. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| > Hi | ||
| Hi there! It's SmolLM, AI assistant. How can I help you today? | ||
| > /bye | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,6 @@ docker model run ai/smollm2 | |
| Output: | ||
|
|
||
| ```console | ||
| Interactive chat mode started. Type '/bye' to exit. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| > Hi | ||
| Hi there! It's SmolLM, AI assistant. How can I help you today? | ||
| > /bye | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep the documentation consistent with the proposed change in
run.go, this example should be updated to show the concise exit hint.