Skip to content

Commit

Permalink
Merge pull request #8 from JayDaniel/main
Browse files Browse the repository at this point in the history
support  Claude 3 family of models, support message api
  • Loading branch information
jtsang4 committed Mar 5, 2024
2 parents 558e6a8 + 45434fe commit 25bcae0
Show file tree
Hide file tree
Showing 2 changed files with 232 additions and 183 deletions.
30 changes: 21 additions & 9 deletions src/info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"identifier": "jtsang.claude.translator",
"version": "0.5.1",
"version": "0.5.2",
"category": "translate",
"name": "Claude Translator",
"summary": "Claude powered translator",
Expand All @@ -23,25 +23,37 @@
"title": "API KEY",
"desc": "可以用英文逗号分割多个 API KEY 以实现额度加倍及负载均衡"
},
{
"identifier": "request_mode",
"type": "menu",
"title": "请求方式",
"defaultValue": "stream",
"menuValues": [
{
"title": "流式请求",
"value": "stream"
}
]
},
{
"identifier": "model",
"type": "menu",
"title": "模型",
"defaultValue": "claude-v1.3",
"defaultValue": "claude-2.1",
"menuValues": [
{
"title": "claude-v1.3 (recommended)",
"value": "claude-v1.3"
"title": "Claude 2.1",
"value": "claude-2.1"
},
{
"title": "claude-2",
"value": "claude-2"
"title": "Claude 3 Opus",
"value": "claude-3-opus-20240229"
},
{
"title": "claude-instant-1",
"value": "claude-instant-1"
"title": "Claude 3 Sonnet",
"value": "claude-3-sonnet-20240229"
}
]
}
]
}
}
Loading

0 comments on commit 25bcae0

Please sign in to comment.