This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Commit e6600f6
authored
Fix ollama support for Kodu when muxing (#1022)
Muixing was failing for 2 reasons:
1. Sometimes we return OpenAI format
from ollama provider. Before we were assuming that everything that
was returned from ollama provider had ollama format.
2. The OpenAI format returned from ollama provider had an invalid
`created` field.1 parent 58512fd commit e6600f6
File tree
2 files changed
+9
-23
lines changed- src/codegate
- muxing
- providers/ollama
2 files changed
+9
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
162 | 167 | | |
163 | 168 | | |
164 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 29 | + | |
| 30 | + | |
50 | 31 | | |
51 | 32 | | |
52 | 33 | | |
| |||
0 commit comments