mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-01-16 08:21:55 +00:00
fix openai provider test error
This commit is contained in:
parent
f1f8ce80fc
commit
540226a792
@ -1,4 +1,7 @@
|
|||||||
releases:
|
releases:
|
||||||
|
- version: "0.6.5"
|
||||||
|
fixes:
|
||||||
|
- "fixed openai provider test error"
|
||||||
- version: "0.6.4"
|
- version: "0.6.4"
|
||||||
features:
|
features:
|
||||||
- "Added batch embedding for siliconflow"
|
- "Added batch embedding for siliconflow"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "infio-copilot",
|
"id": "infio-copilot",
|
||||||
"name": "Infio Copilot",
|
"name": "Infio Copilot",
|
||||||
"version": "0.6.4",
|
"version": "0.6.5",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "A Cursor-inspired AI assistant for notes that offers smart autocomplete and interactive chat with your selected notes",
|
"description": "A Cursor-inspired AI assistant for notes that offers smart autocomplete and interactive chat with your selected notes",
|
||||||
"author": "Felix.D",
|
"author": "Felix.D",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian-infio-copilot",
|
"name": "obsidian-infio-copilot",
|
||||||
"version": "0.6.4",
|
"version": "0.6.5",
|
||||||
"description": "A Cursor-inspired AI assistant that offers smart autocomplete and interactive chat with your selected notes",
|
"description": "A Cursor-inspired AI assistant that offers smart autocomplete and interactive chat with your selected notes",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -1786,6 +1786,12 @@ export const GetDefaultModelId = (provider: ApiProvider): { chat: string, autoCo
|
|||||||
"autoComplete": anthropicDefaultAutoCompleteModelId,
|
"autoComplete": anthropicDefaultAutoCompleteModelId,
|
||||||
"embedding": anthropicDefaultEmbeddingModelId,
|
"embedding": anthropicDefaultEmbeddingModelId,
|
||||||
}
|
}
|
||||||
|
case ApiProvider.OpenAI:
|
||||||
|
return {
|
||||||
|
"chat": openAiNativeDefaultModelId,
|
||||||
|
"autoComplete": openAiNativeDefaultAutoCompleteModelId,
|
||||||
|
"embedding": openAiNativeDefaultEmbeddingModelId,
|
||||||
|
}
|
||||||
case ApiProvider.Deepseek:
|
case ApiProvider.Deepseek:
|
||||||
return {
|
return {
|
||||||
"chat": deepSeekDefaultModelId,
|
"chat": deepSeekDefaultModelId,
|
||||||
@ -1829,4 +1835,4 @@ export const GetDefaultModelId = (provider: ApiProvider): { chat: string, autoCo
|
|||||||
"embedding": null,
|
"embedding": null,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user