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:
|
||||
- version: "0.6.5"
|
||||
fixes:
|
||||
- "fixed openai provider test error"
|
||||
- version: "0.6.4"
|
||||
features:
|
||||
- "Added batch embedding for siliconflow"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "infio-copilot",
|
||||
"name": "Infio Copilot",
|
||||
"version": "0.6.4",
|
||||
"version": "0.6.5",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "A Cursor-inspired AI assistant for notes that offers smart autocomplete and interactive chat with your selected notes",
|
||||
"author": "Felix.D",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"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",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -1786,6 +1786,12 @@ export const GetDefaultModelId = (provider: ApiProvider): { chat: string, autoCo
|
||||
"autoComplete": anthropicDefaultAutoCompleteModelId,
|
||||
"embedding": anthropicDefaultEmbeddingModelId,
|
||||
}
|
||||
case ApiProvider.OpenAI:
|
||||
return {
|
||||
"chat": openAiNativeDefaultModelId,
|
||||
"autoComplete": openAiNativeDefaultAutoCompleteModelId,
|
||||
"embedding": openAiNativeDefaultEmbeddingModelId,
|
||||
}
|
||||
case ApiProvider.Deepseek:
|
||||
return {
|
||||
"chat": deepSeekDefaultModelId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user