mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-11 08:33:41 +08:00
Merge branch 'Calcium-Ion:main' into main
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user