mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 21:40:15 +09:00
fix: fix completions role field
This commit is contained in:
parent
1b28b22fc3
commit
834ddc4163
@ -178,6 +178,7 @@ func getStreamTranshipmentForm(id string, created int64, form RelayForm, data *g
|
||||
{
|
||||
Index: 0,
|
||||
Delta: Message{
|
||||
Role: getRole(data),
|
||||
Content: data.Content,
|
||||
ToolCalls: data.ToolCall,
|
||||
FunctionCall: data.FunctionCall,
|
||||
|
Loading…
Reference in New Issue
Block a user