Skip to content

Commit

Permalink
better message
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
  • Loading branch information
mudler committed May 20, 2024
1 parent 2708ce6 commit 6fefd3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/cli/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ func (r *RunCMD) Run(ctx *cliContext.Context) error {
token = p2p.GenerateToken()
log.Info().Msg("Generated Token:")
fmt.Println(token)

log.Info().Msg("To use the token, you can run the following command in another node or terminal:")
fmt.Printf("export TOKEN=\"%s\"\nlocal-ai worker p2p-llama-cpp-rpc\n", token)

// Ask for user confirmation
log.Info().Msg("Press a button to proceed")
var input string
Expand Down

0 comments on commit 6fefd3b

Please sign in to comment.