Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 77 additions & 5 deletions src/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "yetone <[email protected]>",
"homepage": "https://github.com/yetone/bob-plugin-openai-translator",
"appcast": "https://raw.githubusercontent.com/yetone/bob-plugin-openai-translator/main/appcast.json",
"minBobVersion": "0.5.0",
"minBobVersion": "0.6.0",
"options": [
{
"identifier": "api_url",
Expand All @@ -27,14 +27,14 @@
"identifier": "model",
"type": "menu",
"title": "模型",
"defaultValue": "gpt-3.5-turbo",
"defaultValue": "gpt-4.1-nano",
"menuValues": [
{
"title": "gpt-3.5-turbo-0301",
"value": "gpt-3.5-turbo-0301"
"title": "gpt-4.1-nano",
"value": "gpt-4.1-nano"
},
{
"title": "gpt-3.5-turbo (recommended)",
"title": "gpt-3.5-turbo",
"value": "gpt-3.5-turbo"
},
{
Expand All @@ -46,6 +46,78 @@
"value": "text-davinci-002"
}
]
},
{
"identifier": "purpose",
"type": "menu",
"title": "工作模式",
"defaultValue": "auto",
"menuValues": [
{
"title": "自动检测",
"value": "auto"
},
{
"title": "翻译",
"value": "translate"
},
{
"title": "润色",
"value": "polish"
},
{
"title": "字典查词",
"value": "dictionary"
},
{
"title": "模糊查词",
"value": "guessWord"
},
{
"title": "单词比较",
"value": "compareWord"
},
{
"title": "聊天",
"value": "chat"
}
]
},
{
"identifier": "polishOutputNum",
"type": "menu",
"title": "润色输出版本数",
"defaultValue": "onlyOne",
"menuValues": [
{
"title": "仅提供一个版本",
"value": "onlyOne"
},
{
"title": "提供多个版本",
"value": "multiple"
}
]
},
{
"identifier": "polishMode",
"type": "menu",
"title": "润色模式",
"defaultValue": "Simple",
"menuValues": [
{
"title": "简洁(只输出结果,不允许添加新内容)",
"value": "Simple"
},
{
"title": "详尽(解释修改原因,不允许添加新内容)",
"value": "Detailed"
},
{
"title": "丰富(解释修改原因,并允许添加新内容)",
"value": "Enrich"
}
]
}
]
}
Loading