Add DeepSeek and LMStudio providers

- Integrate DeepSeek and LMStudio AI providers
- Add message processing utilities for improved handling
- Implement reasoning panel for message actions
- Add logging functionality to UI
- Update configurations and dependencies
This commit is contained in:
haddadrm
2025-02-25 08:53:53 +04:00
parent 4d24d73161
commit a6e4402616
18 changed files with 8270 additions and 592 deletions

View File

@@ -9,6 +9,7 @@ import {
getAnthropicApiKey,
getGeminiApiKey,
getOpenaiApiKey,
getDeepseekApiKey,
updateConfig,
getCustomOpenaiApiUrl,
getCustomOpenaiApiKey,
@@ -57,6 +58,7 @@ router.get('/', async (_, res) => {
config['anthropicApiKey'] = getAnthropicApiKey();
config['groqApiKey'] = getGroqApiKey();
config['geminiApiKey'] = getGeminiApiKey();
config['deepseekApiKey'] = getDeepseekApiKey();
config['customOpenaiApiUrl'] = getCustomOpenaiApiUrl();
config['customOpenaiApiKey'] = getCustomOpenaiApiKey();
config['customOpenaiModelName'] = getCustomOpenaiModelName();
@@ -85,6 +87,9 @@ router.post('/', async (req, res) => {
GEMINI: {
API_KEY: config.geminiApiKey,
},
DEEPSEEK: {
API_KEY: config.deepseekApiKey,
},
OLLAMA: {
API_URL: config.ollamaApiUrl,
},