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

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

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