Compare commits
4 Commits
7bfddaabce
...
3f7f34812f
Author | SHA1 | Date | |
---|---|---|---|
3f7f34812f | |||
98e92d1ff4 | |||
e23dc17555 | |||
e0cc97e177 |
@ -5,6 +5,7 @@ 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"
|
||||||
|
|
||||||
@ -279,7 +280,7 @@ func (m *model) promptLLM() tea.Cmd {
|
|||||||
|
|
||||||
var apiReplies []models.Message
|
var apiReplies []models.Message
|
||||||
resp, _ := completionProvider.CreateChatCompletionStream(
|
resp, _ := completionProvider.CreateChatCompletionStream(
|
||||||
requestParams, m.messages, &apiReplies, m.replyChan,
|
context.Background(), requestParams, m.messages, &apiReplies, m.replyChan,
|
||||||
)
|
)
|
||||||
|
|
||||||
return msgResponseEnd(resp)
|
return msgResponseEnd(resp)
|
||||||
|
Loading…
Reference in New Issue
Block a user