Skip to content

Commit e10776f

Browse files
authored
Merge pull request #53 from Ariesly/main
fix: replace empty content with space in system message handling
2 parents 5590851 + 36a780b commit e10776f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/adapter/struct.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (req *ChatCompletionRequest) toVisionGenaiContent() ([]*genai.Content, erro
7575
},
7676
{
7777
Parts: []genai.Part{
78-
genai.Text(""),
78+
genai.Text(" "),
7979
},
8080
Role: genaiRoleModel,
8181
},

0 commit comments

Comments
 (0)