Files
plugins/packages/sap-aicore/docs
caiknandcaikn 589fb12334 sap-aicore 0.3.1: image content in tool results (#830)
sap-aicore can now take images in tool results: a `tool_result` on Messages, and a `function_call_output` array on Responses. Images still need an image-capable model, and pass the same URL and detail checks as user attachments. Text-only models still refuse them locally, but magpie's gateway already describes or drops tool images before the plugin sees them. Bumped to 0.3.1.

Run at b44bb706 on mote (HOME=$(mktemp -d)):
- the package's tests: 335 pass, 0 fail
- bun scripts/check.mjs sap-aicore: ok
- the whole repo's bun test: 5882 pass, 0 fail

Each of the five guards, broken by hand, turned a test red. Bedrock's docs and Azure's v1 spec both accept these shapes. CI is green at 92e19bf9 (the bump only).
Not tried: a live SAP AI Core request.

Co-authored-by: caikn <caikn@users.noreply.github.com>
2026-11-07 17:54:37 +08:00
..