Commit c574bae
committed
bug #1267 [Platform][Ollama][VertexAi] Disable token extraction for streams (chr-hertel)
This PR was merged into the main branch.
Discussion
----------
[Platform][Ollama][VertexAi] Disable token extraction for streams
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Docs? | no <!-- required for new features -->
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
For now we need to revert this, since it consumes the stream iterator already and output streaming is broken than.
Commits
-------
42dd99d Disable Ollama token extraction for streamsFile tree
4 files changed
+6
-55
lines changed- src/platform/src/Bridge
- Ollama
- Tests
- VertexAi
- Gemini
- Tests
4 files changed
+6
-55
lines changedLines changed: 2 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 57 | + | |
73 | 58 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 59 | + | |
77 | 60 | | |
78 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 27 | + | |
36 | 28 | | |
37 | 29 | | |
38 | 30 | | |
| |||
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 27 | + | |
40 | 28 | | |
41 | 29 | | |
42 | 30 | | |
| |||
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 71 | | |
80 | | - | |
| 72 | + | |
81 | 73 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 74 | + | |
87 | 75 | | |
88 | 76 | | |
0 commit comments