🐛 fix: fix some issues (#77)

* 🐛 fix: Incorrect word spelling

* ♻️ refactor: split function

* 🐛 fix: Delete the disabled channels without deleting the abilities table
This commit is contained in:
Buer
2024-02-29 11:26:02 +08:00
committed by GitHub
parent 1ae0baa8cb
commit fab465e82a
6 changed files with 90 additions and 114 deletions

View File

@@ -153,7 +153,7 @@ func convertFromChatOpenai(request *types.ChatCompletionRequest) *MiniMaxChatReq
}
messges[len(messges)-1].FunctionCall = &types.ChatCompletionToolCallsFunction{
Name: "funciton",
Name: "function",
Arguments: "arguments",
}
}