fix prompt spacing

This commit is contained in:
Bruce MacDonald 2023-11-20 12:26:20 -05:00
parent 72ce843921
commit 75657e30e0

View File

@ -546,9 +546,11 @@ func generate(cmd *cobra.Command, wordWrap bool, request api.GenerateRequest) (*
return nil, err
}
// spacing for readability
fmt.Println()
fmt.Println()
if request.Prompt != "" || request.Messages != nil {
// spacing for readability, a message was sent
fmt.Println()
fmt.Println()
}
if !latest.Done {
if abort {