deploy: share the Unlimited-OCR parser chat template

Render only the last user turn and supply the reference parser instruction
when that turn carries no text, so clients that send a bare image (or
system/history text) no longer get a prose preamble before the layout.
Mount the template directory read-only at /chat-templates.
This commit is contained in:
Juup committed 2026-10-20 07:04:11 +00:00
1 parent 0901ef9c50
commit 34f2bf26e2
3 files changed
+42

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ services:
memlock: -1
volumes:
- ${RADIANCE_MODELS:?set RADIANCE_MODELS in .env}:/models:ro
- ${RADIANCE_CHAT_TEMPLATES:-../chat-templates}:/chat-templates:ro
# A server finishes the step in flight and releases the cards on SIGTERM.
stop_grace_period: 60s
healthcheck: