Add square text-to-image rendering with a spend gate
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Has been cancelled

Hall of Helix needs a credential-safe render that returns a provenance
receipt and refuses a batch before the quote exceeds its cap. OpenRouter
is the only client; the model and the live budget stay with the founder.

Assistant: grok
Assistant-Session: 01a11ab6-1534-7d63-8606-662b92a80ed6
This commit is contained in:
tegwick 2026-10-08 11:01:49 +02:00
parent 9dc6b39766
commit e3ab268d6e
11 changed files with 1335 additions and 3 deletions

View file

@ -31,6 +31,9 @@ re-export shim pointing here.
- Embedding adapters including `EmbeddingAdapter`,
`OpenAICompatibleEmbeddingAdapter`, `EmbeddingCache`, and
`create_embedding_adapter`.
- Square text-to-image rendering (`llm_connect.images`) with an OpenRouter
client, a per-call and batch spend gate, and a provenance receipt.
See `contracts/functional/images.md`.
- TOML-based configuration resolution via `toml_config.py` and `config.py`.
- Shared HTTP utilities, token estimation, similarity helpers, and the
`LLMError` exception hierarchy.