Update README.md
Browse files
README.md
CHANGED
@@ -135,7 +135,7 @@ End your response with 'Final answer: '.
|
|
135 |
<details>
|
136 |
<summary>Optional: Streaming (Advanced)</summary>
|
137 |
|
138 |
-
|
139 |
|
140 |
```python
|
141 |
# --- Budget-aware streamer helper ---
|
@@ -162,7 +162,7 @@ class BudgetAwareTextStreamer(TextIteratorStreamer):
|
|
162 |
pass
|
163 |
```
|
164 |
|
165 |
-
Example usage
|
166 |
|
167 |
```python
|
168 |
streamer = BudgetAwareTextStreamer(
|
|
|
135 |
<details>
|
136 |
<summary>Optional: Streaming (Advanced)</summary>
|
137 |
|
138 |
+
To support thinking budget, we modified the implementation of the Ovis `generate` method and the default `TextIteratorStreamer` is now incompatible. If you need to stream model output, be sure to use the helper class below.
|
139 |
|
140 |
```python
|
141 |
# --- Budget-aware streamer helper ---
|
|
|
162 |
pass
|
163 |
```
|
164 |
|
165 |
+
Example usage:
|
166 |
|
167 |
```python
|
168 |
streamer = BudgetAwareTextStreamer(
|