* Studio: support images on /v1/messages (Anthropic-compat) Translate Anthropic `image` content blocks (base64 and url sources) to OpenAI `image_url` multimodal parts so the Anthropic endpoint reaches llama-server's native vision path. Mirrors the `/v1/chat/completions` vision behavior: 400 when the active GGUF isn't a vision model, and embedded images are re-encoded to PNG (stb_image format coverage). Server-side agentic loop is disabled when images are present, matching the existing `not image_b64` gate on /v1/chat/completions. Adds translator + normalizer unit tests. * Studio: address gemini-code-assist review on /v1/messages image support - Preserve interleaving of Anthropic text + image content blocks in the translator (previously flattened all text first, then all images). - Let _normalize_anthropic_openai_images return has_image so the route skips the second scan it was doing. - Use module-level base64/io in the helper instead of re-importing. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||