feat(ollama): Enhance Ollama support by adding new models, updating API format handling, and integrating translation functionality.
This commit is contained in:
1 parent
32e3980a13
commit
83d94daa82
9 files changed
+352
-11
No files matched your search
@@ -159,7 +159,7 @@ export function createSSEStream(options = {}) {
|
||||
// Translate mode
|
||||
if (!trimmed) continue;
|
||||
|
||||
const parsed = parseSSELine(trimmed);
|
||||
const parsed = parseSSELine(trimmed, targetFormat);
|
||||
if (!parsed) continue;
|
||||
|
||||
if (parsed && parsed.done) {
|
||||
|
||||
Reference in new issue
Block a user