commit
c5e7030dd1
@ -222,6 +222,10 @@ export const EMBEDDING_MODELS = [
|
||||
{
|
||||
id: 'embed-multilingual-v2.0',
|
||||
max_context: 256
|
||||
},
|
||||
{
|
||||
id: 'text-embedding-004',
|
||||
max_context: 2048
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@ -1191,7 +1191,12 @@ export function isWebSearchModel(model: Model): boolean {
|
||||
}
|
||||
|
||||
if (provider.id === 'aihubmix') {
|
||||
return model?.id === 'gemini-2.0-flash-exp-search'
|
||||
const models = [
|
||||
'gemini-2.0-flash-search',
|
||||
'gemini-2.0-flash-exp-search',
|
||||
'gemini-2.0-pro-exp-02-05-search'
|
||||
]
|
||||
return models.includes(model?.id)
|
||||
}
|
||||
|
||||
if (provider.id === 'zhipu') {
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
"title": "智能體"
|
||||
},
|
||||
"assistants": {
|
||||
"abbr": "助",
|
||||
"abbr": "助手",
|
||||
"clear.content": "清空話題會刪除助手下所有主題和文件,確定要繼續嗎?",
|
||||
"clear.title": "清空話題",
|
||||
"copy.title": "複製助手",
|
||||
@ -107,7 +107,7 @@
|
||||
"settings.set_as_default": "設為預設助手",
|
||||
"settings.show_line_numbers": "代码顯示行號",
|
||||
"settings.temperature": "溫度",
|
||||
"settings.temperature.tip": "較低的值使模型更具創造性和不可預測性,較高的值則使其更具確定性和精確性。",
|
||||
"settings.temperature.tip": "模型產生文字的隨機程度。數值越高,回應內容越具多樣性、創意性及隨機性;設定為 0 則會依據事實回答。一般聊天建議設定為 0.7",
|
||||
"settings.top_p": "Top-P",
|
||||
"settings.top_p.tip": "模型生成文本的隨機程度。值越小,AI 生成的內容越單調,也越容易理解;值越大,AI 回覆的詞彙範圍越大,越多樣化",
|
||||
"suggestions.title": "建議的問題",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user