mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-09 16:38:19 +00:00
update test settings
This commit is contained in:
@@ -64,12 +64,14 @@ describe('parseSmartCopilotSettings', () => {
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
anthropicProvider: {
|
||||
name: 'Anthropic',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
ollamaChatModel: {
|
||||
baseUrl: '',
|
||||
@@ -141,60 +143,70 @@ describe('parseSmartCopilotSettings', () => {
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
googleProvider: {
|
||||
name: 'Google',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
groqProvider: {
|
||||
name: 'Groq',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
grokProvider: {
|
||||
name: 'Grok',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
infioProvider: {
|
||||
name: 'Infio',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
ollamaProvider: {
|
||||
apiKey: 'ollama',
|
||||
baseUrl: '',
|
||||
name: 'Ollama',
|
||||
useCustomUrl: true,
|
||||
models: [],
|
||||
},
|
||||
openaiProvider: {
|
||||
name: 'OpenAI',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
openaicompatibleProvider: {
|
||||
name: 'OpenAICompatible',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: true,
|
||||
models: [],
|
||||
},
|
||||
openrouterProvider: {
|
||||
name: 'OpenRouter',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
siliconflowProvider: {
|
||||
name: 'SiliconFlow',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
})
|
||||
})
|
||||
@@ -277,12 +289,14 @@ describe('settings migration', () => {
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
anthropicProvider: {
|
||||
name: 'Anthropic',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
ollamaChatModel: {
|
||||
baseUrl: '',
|
||||
@@ -354,60 +368,70 @@ describe('settings migration', () => {
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
googleProvider: {
|
||||
name: 'Google',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
groqProvider: {
|
||||
name: 'Groq',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
grokProvider: {
|
||||
name: 'Grok',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
infioProvider: {
|
||||
name: 'Infio',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
ollamaProvider: {
|
||||
apiKey: 'ollama',
|
||||
baseUrl: '',
|
||||
name: 'Ollama',
|
||||
useCustomUrl: true,
|
||||
models: [],
|
||||
},
|
||||
openaiProvider: {
|
||||
name: 'OpenAI',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
openaicompatibleProvider: {
|
||||
name: 'OpenAICompatible',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: true,
|
||||
models: [],
|
||||
},
|
||||
openrouterProvider: {
|
||||
name: 'OpenRouter',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
siliconflowProvider: {
|
||||
name: 'SiliconFlow',
|
||||
apiKey: '',
|
||||
baseUrl: '',
|
||||
useCustomUrl: false,
|
||||
models: [],
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user