feat(ollama): Enhance Ollama support by adding new models, updating API format handling, and integrating translation functionality.

This commit is contained in:
decolua committed 2026-03-12 15:24:10 +07:00
1 parent 32e3980a13
commit 83d94daa82
9 files changed
+352 -11

No files matched your search

+5 -5
View File
@@ -424,10 +424,6 @@ export const PROVIDERS = {
baseUrl: "https://api.hyperbolic.xyz/v1/chat/completions",
format: "openai"
},
ollama: {
baseUrl: "https://ollama.com/api/chat",
format: "openai"
},
deepgram: {
baseUrl: "https://api.deepgram.com/v1/listen",
format: "openai"
@@ -443,7 +439,11 @@ export const PROVIDERS = {
chutes: {
baseUrl: "https://llm.chutes.ai/v1/chat/completions",
format: "openai"
}
},
ollama: {
baseUrl: "https://ollama.com/api/chat",
format: "ollama"
},
};
// Claude system prompt