ur-agent 1.57.0 → 1.57.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.57.2
|
|
4
|
+
|
|
5
|
+
- Fixed the Ollama adapter discarding images returned by tools. A tool result
|
|
6
|
+
containing an image was flattened with `contentBlockToText`, which renders an
|
|
7
|
+
image block as the literal string `[Image output omitted]` — so a `Computer`
|
|
8
|
+
screenshot reached the model as that text and nothing else. Image blocks are
|
|
9
|
+
now extracted from the tool result and sent as `images` on the following user
|
|
10
|
+
message, which is where Ollama renders them reliably.
|
|
11
|
+
- On a model with no vision capability the placeholder now names the model and
|
|
12
|
+
points at `/model`, so the agent states the real reason it cannot see instead
|
|
13
|
+
of inventing one.
|
|
14
|
+
- `Computer(screenshot)` now reports the bytes actually sent rather than the
|
|
15
|
+
on-disk size, which was misleading after downsampling.
|
|
16
|
+
|
|
17
|
+
## 1.57.1
|
|
18
|
+
|
|
19
|
+
- Fixed the `Computer` tool returning a byte count instead of the screenshot.
|
|
20
|
+
`mapToolResultToToolResultBlockParam` dropped the captured image, so the
|
|
21
|
+
model saw only "Captured 5164460 bytes" and had to ask the user where to save
|
|
22
|
+
the file — defeating the tool's main purpose. Screenshots now come back as an
|
|
23
|
+
image content block, resized through the same path `FileRead` uses so a
|
|
24
|
+
Retina capture cannot exceed the request size limit.
|
|
25
|
+
- When encoding fails the file still exists, so the result now reports the path
|
|
26
|
+
for the model to read rather than reporting nothing usable.
|
|
27
|
+
|
|
3
28
|
## 1.57.0
|
|
4
29
|
|
|
5
30
|
- Connected four features that were built, tested and then left unreachable.
|