Ani Tunturi
93337ce680
fix: pass images from tool returns to vision models
...
OpenAI Chat Completions requires tool message content to be a string,
so images in tool returns were silently replaced with [Image omitted].
Now: text stays in the tool return, images get injected as a user
message right after. The model actually sees what the tool saw.
to_openai_dict also cleaned up — image handling lives in
to_openai_dicts_from_list where it can inject the extra message.
2026-03-21 12:41:37 -04:00
..
2026-02-24 10:55:11 -08:00
2026-03-03 18:34:15 -08:00
2026-02-24 10:52:06 -08:00
2026-02-24 10:55:08 -08:00
2026-01-29 12:44:04 -08:00
2026-02-24 10:52:05 -08:00
2026-02-24 10:55:26 -08:00
2025-09-17 15:47:40 -07:00
2025-12-15 12:03:09 -08:00
2026-02-24 10:52:06 -08:00
2026-01-19 15:54:37 -08:00
2025-11-24 19:09:32 -08:00
2025-11-13 15:36:56 -08:00
2026-01-29 12:44:04 -08:00
2025-09-17 15:47:40 -07:00
2026-01-29 12:44:04 -08:00
2025-11-13 15:36:56 -08:00
2025-11-13 15:36:14 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:11 -08:00
2026-03-03 18:34:15 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:52:07 -08:00
2025-11-13 15:35:41 -08:00
2026-02-24 10:55:12 -08:00
2026-03-03 18:34:01 -08:00
2026-03-03 18:34:13 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:55:08 -08:00
2026-02-24 10:52:06 -08:00
2026-03-03 18:34:02 -08:00
2026-03-21 12:41:37 -04:00
2026-03-03 18:34:15 -08:00
2025-09-17 15:47:40 -07:00
2025-11-13 15:35:41 -08:00
2026-01-29 12:44:04 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:55:08 -08:00
2026-03-03 18:34:13 -08:00
2025-10-07 17:50:50 -07:00
2025-09-17 15:47:40 -07:00
2025-11-13 15:35:41 -08:00
2026-01-12 10:57:48 -08:00
2025-11-13 15:36:56 -08:00
2026-01-12 10:57:48 -08:00
2025-11-24 19:09:32 -08:00
2026-02-24 10:55:08 -08:00
2025-11-13 15:35:41 -08:00
2026-02-24 10:52:06 -08:00
2025-12-15 12:02:19 -08:00
2025-11-13 15:35:41 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:55:11 -08:00
2026-02-24 10:52:06 -08:00