feat: support cohere (close #195)

This commit is contained in:
CaIon committed 2024-04-24 18:49:56 +08:00
1 parent 213e659164
commit cae9dbe141
11 files changed
+322 -2

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ func stopReasonClaude2OpenAI(reason string) string {
case "end_turn":
return "stop"
case "max_tokens":
return "length"
return "max_tokens"
default:
return reason
}