add support for Anthropic (#2148)

### What problem does this PR solve?

#1853  add support for Anthropic

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
黄腾
2024-08-29 13:30:06 +08:00
committed by GitHub
parent 0abc01311b
commit 06abef66ef
7 changed files with 124 additions and 5 deletions

View File

@ -104,7 +104,8 @@ ChatModel = {
"Replicate": ReplicateChat,
"Tencent Hunyuan": HunyuanChat,
"XunFei Spark": SparkChat,
"BaiduYiyan": BaiduYiyanChat
"BaiduYiyan": BaiduYiyanChat,
"Anthropic": AnthropicChat
}