Compare commits
4 Commits
3f7f34812f
...
7bfddaabce
Author | SHA1 | Date | |
---|---|---|---|
7bfddaabce | |||
a5f39f7944 | |||
3b71f08d19 | |||
b803ea7a52 |
@ -5,7 +5,6 @@ package tui
|
|||||||
// - binding to open selected message/input in $EDITOR
|
// - binding to open selected message/input in $EDITOR
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -280,7 +279,7 @@ func (m *model) promptLLM() tea.Cmd {
|
|||||||
|
|
||||||
var apiReplies []models.Message
|
var apiReplies []models.Message
|
||||||
resp, _ := completionProvider.CreateChatCompletionStream(
|
resp, _ := completionProvider.CreateChatCompletionStream(
|
||||||
context.Background(), requestParams, m.messages, &apiReplies, m.replyChan,
|
requestParams, m.messages, &apiReplies, m.replyChan,
|
||||||
)
|
)
|
||||||
|
|
||||||
return msgResponseEnd(resp)
|
return msgResponseEnd(resp)
|
||||||
|
Loading…
Reference in New Issue
Block a user