Repository navigation
v1.2.0
ai-ui 1.2.0
Simpler Azure Foundry configuration, reliable chat/image generation and safer
document retrieval. This release includes the complete set of changes since
1.1.0, including the review corrections in #22, separate image resources in #23
and the simplified chat header in #24.
Foundry configuration and model discovery
- Opt into account-scoped discovery with
AZURE_RESOURCE_IDand an explicit
AZURE_TENANT_ID,AZURE_CLIENT_IDandAZURE_CLIENT_SECRET. The endpoint is
derived from ARM metadata; no Azure CLI or interactive login is needed in the
container. Manual/API-key configuration remains available. - Add
AZURE_IMAGE_RESOURCE_IDwhen image deployments belong to another
account. The same service principal is reused, with permissions scoped to
each account. Image generation, editing, selection, checks and cached
inventory use that account without moving chat, vision or embeddings. - The separate image account exposes actual ARM deployment aliases, not a
global model-catalog list. Its failure never falls back to the primary
endpoint. Discovery caches and errors are isolated per resource. - Canonical model metadata and supported capabilities determine usable
deployments. Updated profiles include current GPT-5.6/GPT-6 chat models,
GPT-chat-latest, Grok 4.3 and GPT-Image variants. Unsupported protocols and
batch deployments are not offered as usable choices. - Inventory cards group models by purpose and show model/version, capabilities,
source and state. Resource IDs and endpoints are copyable readonly controls. - Connection checks distinguish cached metadata, unconfigured/skipped checks
and actual inference probes. Refresh updates displayed metadata errors
immediately. A Models API entry does not prove deployment or generation
access, and an arbitrary image-probe error is never shown as success. - Cloud Shell instructions cover initial service-principal setup, a one-year
secret and granting the existing principal access to a separate image account.
Chat and image generation
- Ordinary chat can call the configured image generator for explicit image
creation/edit requests. Chat mode and the selected text model are preserved;
manual image mode is still available. Image calls can incur provider charges. - Tool-enabled GPT-6/GPT-5.5/GPT-5.6 turns use a stateless Responses API adapter
(store=false). Encrypted reasoning is replayed only within the current tool
loop, not persisted as message content. - Every submitted turn is bound to an exact user message and durably claimed.
SSE connections observe/replay it instead of launching another model call,
preventing duplicate generation on reconnect and misassociated parallel turns. - One generation per chat and at most four application-wide run concurrently.
Excess submissions return an explicit busy response and are not silently
queued. Workers have bounded lifetimes and are canceled/joined on shutdown.
Interrupted or uncertain provider outcomes are never automatically retried. - Image edits require a valid source instead of silently creating a new image.
Generated images and their assistant messages are committed together. - Image deployment selection is validated for the image operation; attachment
deletion verifies that the document/image belongs to the specified chat. - Optional title generation has a short, shutdown-aware timeout.
- The top-right model selector has been removed. Model defaults remain in
Settings, actual responding-model badges remain on streamed answers, and
existing per-chat model selections are preserved. - Content-versioned static assets and stylesheet refreshes prevent newly
loaded settings markup from using stale CSS.
Embedding/index safety
- Both manual and Foundry indexes persist their embedding identity and vector
dimensions; classic endpoints also record the API version. - Changing a model or authentication identity does not mix vector spaces.
Legacy unknown indexes require an explicit, cost-confirmed rebuild. - Reindexing stages the entire replacement and publishes it atomically. Failed,
canceled or interrupted jobs preserve the previous index; corpus mutations
are blocked while rebuilding. - Manual embedding credentials are scoped to configured destinations. A
cross-origin embedding endpoint requires a dedicated key, and a persisted old
profile cannot authorize sending new credentials to an old endpoint after a
restart.
Document extraction corrections
- Excel preserves missing columns and follows workbook relationships, keeping
values under the right column and worksheet name. - PowerPoint follows presentation relationships and associates notes with the
correct slide. - Word preserves text in nested tables without duplicating or losing it.
- RTF validates numeric ranges and hexadecimal escapes, handles scoped Unicode
fallbacks and decodes UTF-16 surrogate pairs. - OOXML parsing has cumulative decompression and processing budgets, XML
token/depth bounds and explicit failure for malformed selected parts or
resource-limit violations. Existing extracts are not rewritten automatically.
Release quality and dependencies
- Release builds run the complete CI checks before building an image candidate.
Bothlinux/amd64andlinux/arm64are scanned, and the candidate is signed
before public image tags are promoted. HIGH/CRITICAL findings, including
unfixed findings, block promotion. - Images retain the static, CGO-free Go binary, distroless non-root runtime,
binary health check, SBOM and build provenance. - Go remains on the 1.26 line; CI and container builds select current patched
runtimes rather than the unpatched minimum fromgo.mod. - Dependencies include chi 5.3.2, SQLite 1.58.0 with matching libc/memory modules,
andgolang.org/x/crypto0.56.0, addressing the reported SSH advisories. - Validation covers race tests, vet, lint, static builds, CodeQL, image scans
and 21 English/German browser scenarios with two isolated local resources.
No real Azure model calls, role changes or credential rotations are performed
by these local fixtures. govulncheckreports no affected symbols or imported packages. Its separate
module-inventory note for the unimported, unmaintained OpenPGP package
(GO-2026-5932) has no fixed version.
Upgrade from 1.1.x
- Back up the complete persistent
/appdatavolume while the app is stopped,
or use a consistent SQLite backup procedure. Keep the same volume and its
ownership; do not delete it. - Pin the existing container/Compose stack to
ghcr.io/daknoblo/ai-ui:1.2.0, retaining its ports and environment settings. - Review the manual embedding-key restriction and any optional Foundry/image
resource settings. Recreate the container, reload the browser and run the
saved-configuration checks. - If the previous embedding profile is unknown or incompatible, explicitly
confirm a staged rebuild after reviewing its usage costs. Switching only
the image resource does not require reindexing. - Re-upload documents with old incorrect extracts. Rebuilding embeddings alone
reuses stored text and cannot correct the original parsing.
To roll back, stop 1.2.0 and restore the pre-upgrade data backup together with
the old pinned image. Do not run an older binary against an already migrated
database and assume downgrade compatibility.
For the example service name:
docker compose pull ai-ui
docker compose up -d --no-deps ai-uiImages: ghcr.io/daknoblo/ai-ui:1.2.0 and :1.2, for amd64 and arm64.
For immutable deployments, pin the verified registry digest.
Verified release artifacts
- Source commit:
5ae7abcaa870ecc66fd39cee784c0f8576cc3857(annotated tagv1.2.0). - Image index:
sha256:d68f00266293879505aa9e49b74fbc62695adefe7ad450066eec9dcf7ee3d7a4. 1.2.0,1.2andlatestresolve to this release digest at publication.
stableremains the rolling main-branch channel.- Both architecture manifests include an SPDX SBOM and SLSA v1 provenance.
- Cosign verification passed for the exact release digest, tag workflow
identity, source commit, trusted certificate chain and transparency-log evidence. - Runtime startup and the binary health check passed for arm64 and amd64
(amd64 via local cross-platform execution), running as UID/GID 65532 with a
read-only root filesystem, temporary data and no network or Azure credentials. - Release quality gates, both HIGH/CRITICAL image scans and documentation
publication succeeded. No open GitHub Code Scanning alerts remained.
cosign verify \
--certificate-identity 'https://github.com/daknoblo/ai-ui/.github/workflows/release.yml@refs/tags/v1.2.0' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
ghcr.io/daknoblo/ai-ui@sha256:d68f00266293879505aa9e49b74fbc62695adefe7ad450066eec9dcf7ee3d7a4