Merge branch 'Calcium-Ion:main' into main

This commit is contained in:
Yan Tau authored and GitHub committed 2024-09-11 19:29:50 +08:00
commit 02e9dd176c
8 files changed
+20 -10

No files matched your search

+1
View File
@@ -395,6 +395,7 @@ func ResponseClaude2OpenAI(reqMode int, claudeResponse *ClaudeResponse) *dto.Ope
if len(tools) > 0 {
choice.Message.ToolCalls = tools
}
fullTextResponse.Model = claudeResponse.Model
choices = append(choices, choice)
fullTextResponse.Choices = choices
return &fullTextResponse