Skip to content

Commit 6fefd3b

Browse files
committed
better message
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 2708ce6 commit 6fefd3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/cli/run.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ func (r *RunCMD) Run(ctx *cliContext.Context) error {
9595
token = p2p.GenerateToken()
9696
log.Info().Msg("Generated Token:")
9797
fmt.Println(token)
98+
99+
log.Info().Msg("To use the token, you can run the following command in another node or terminal:")
100+
fmt.Printf("export TOKEN=\"%s\"\nlocal-ai worker p2p-llama-cpp-rpc\n", token)
101+
98102
// Ask for user confirmation
99103
log.Info().Msg("Press a button to proceed")
100104
var input string

0 commit comments

Comments
 (0)