mirror of
https://github.com/ollama/ollama.git
synced 2026-04-17 19:54:03 +02:00
launch: update openclaw channel message (#15463)
This commit is contained in:
@@ -193,7 +193,7 @@ func (c *Openclaw) runChannelSetupPreflight(bin string) error {
|
||||
}
|
||||
|
||||
fmt.Fprintf(os.Stderr, "\nYour assistant can message you on WhatsApp, Telegram, Discord, and more.\n\n")
|
||||
ok, err := ConfirmPromptWithOptions("Connect a messaging app now?", ConfirmOptions{
|
||||
ok, err := ConfirmPromptWithOptions("Connect a channel (messaging app) now?", ConfirmOptions{
|
||||
YesLabel: "Yes",
|
||||
NoLabel: "Set up later",
|
||||
})
|
||||
|
||||
@@ -143,7 +143,7 @@ fi
|
||||
oldConfirmPrompt := DefaultConfirmPrompt
|
||||
DefaultConfirmPrompt = func(prompt string, options ConfirmOptions) (bool, error) {
|
||||
promptCount++
|
||||
if prompt != "Connect a messaging app now?" {
|
||||
if prompt != "Connect a channel (messaging app) now?" {
|
||||
t.Fatalf("unexpected prompt: %q", prompt)
|
||||
}
|
||||
return true, nil
|
||||
|
||||
Reference in New Issue
Block a user