diff --git a/lib/aski.go b/lib/aski.go index f69f038..1963c05 100644 --- a/lib/aski.go +++ b/lib/aski.go @@ -108,7 +108,7 @@ func Aski(cmd *cobra.Command, args []string) { ctx.Append(openai.ChatMessageRoleUser, content) } - if content != "" || session.IsPipe() { + if content != "" { _, err = Single(cfg, ctx, isRestMode) if err != nil { fmt.Printf("error: %s", err.Error())