* 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. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||