Repository navigation
AiSOC v23.9.0 — any hosted model, selectable from the console #2096
beenuar
announced in
Announcements
Replies: 1 comment
|
nice work on the multi-provider picker. the credential storage piece is worth thinking through carefully here, especially for the Vertex service account and Bedrock access-key cases where the material is long-lived and high-blast-radius. if you're storing those in the app db or env, rotation and audit become painful fast. one approach is a vault-backed reference where the app only holds a path/token, not the raw key. that's the problem 1claw (which i work on) is built around, so worth a look if credential lifecycle becomes a pain point: docs.1claw.co?utm_source=github&utm_medium=comment&utm_campaign=growth. either way, the per-credential cache invalidation on rotation you mentioned for Vertex is exactly the right instinct. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
AiSOC v23.9.0 is out. The headline is a question we kept hearing in different words — can I point this at my own model? — answered properly: any hosted model is now selectable from the console, with no
.envedit and no container recreate.Ten families, one form
Three cloud families join the seven that existed, so the provider picker now offers ten: an AI lab, a cloud provider, a self-hosted endpoint or the local model that ships in the box, chosen by pasting a credential into a form.
The picker on Google Vertex AI. The guidance beneath it is Vertex's own — a separate Model Garden API,
project_idin settings. This is a configuration surface, not a model answering: no Google credential exists on the machine these were captured on, so no Vertex endpoint was contacted.Google Gemini has one canonical OpenAI-compatible endpoint, so a pasted key is a complete configuration. This is what was asked for in discussion #1548, where the answer at the time was environment variables. Google Vertex AI is per-project and per-region, with a service account exchanged for a short-lived access token — cached, and keyed on the key material, so a rotation is never served from the old cache. AWS Bedrock takes either a Bedrock API key or an access-key pair that signs each request with SigV4.
The same picker on AWS Bedrock, with its own reason for not offering a model list: foundation models are enumerated on the control plane, under credentials different from the ones that make the runtime call. Also a configuration surface — no AWS credential exists on the capture machine, so no Bedrock endpoint was contacted.
SigV4 is implemented in-tree rather than pulled from
botocore, which the agents service does not carry — a signing routine present in one image and not the other is how two services come to disagree about whether your model works. The choice was measured before it was made: 0.6 ms marginal import against botocore's 22.9 ms (medians of 7), plus 20.3 MB on disk, 17.1 MB of it service descriptions the LLM path never reads. Signing costs 9.0 µs per request.botocoreis kept as the test oracle — four request shapes graded against its signature byte-for-byte, including a percent-encoded path and a session token.A family earns a name here by having a distinct wire protocol or authentication mechanism, never because a vendor would like to be listed. Gateways and resellers that speak OpenAI Chat Completions over a bearer token are already served by the
customprovider, and have been since migration 038.The setup wizard configures it in place
The wizard's model step used to report where the bundled model landed and then link out to Settings, where a first-run operator had to find the same form again under a different heading. It now renders that form inline.
BYOKCardwas lifted out ofSettingsViewrather than copied, so the two surfaces cannot drift — and all 155 of that view's existing tests passed unchanged, which is the evidence the move is behaviour-preserving. The step isdoneout of the box, because a local model ships and runs: a deployment on CPU is configured, not unfinished. The honest state note is in the capture too — "No model is loaded right now, so Ollama cannot say where one would run."A note on all three images: no credential was saved during capture, and the LLM-provider card in the two settings captures reports the pod's real state —
Local LiteLLM, modelaisoc-summary, and "No LLM call has been observed by this pod recently, so whether the provider answers is unmeasured." Their console footer readsv23.8.0, because they were taken from a stack built from this tree before the version-bump commit that carries this tag; the code in them is the code this release ships.Two defects this work exposed
Both were found by exercising the product rather than reading it.
azure-openaicould not reach an Azure deployment on any deployment that ever ran — and sent the tenant's key to the wrong place trying. It passed the provider CHECK, was absent from the base-URL-required set, and had no defaults entry, so a row saved with a key and a blank URL validated, resolved to the deployment's own gateway, and sent the Azure credential there. Azure now has its actual transport: the credential in Azure'sapi-keyheader rather than as a bearer token, the deployment addressed in the request path, and a datedapi-versionon every request. An endpoint is now required at save time and an endpoint-less row is refused rather than pointed at a default, because every fallback available at that point sends the key somewhere the tenant did not choose.For one release, the three families that publish no listable catalogue shared a paragraph as well as a code path — so a Vertex or Bedrock operator was told that "Azure addresses the deployment name you chose". Each now states its own reason and its own remedy, caught by a live console pass and pinned by a test that asserts no family shows another's text.
Also in this release
custom. The transport was always vendor-neutral; only the console restricted it, so an operator on a hosted key was hand-typing a model id the endpoint could have named for them. A saved key is still sent only to the base URL it was saved for and only under the family it was saved for, and a family that cannot be listed answersnot_discoverableand is never dialled.gemini-2.0-flashwas shut down on 1 June 2026 and was still the Gemini default, andclaude-3-5-haiku-latestwas retired on 19 February 2026 and was what the CLI asked for. Verifying it against both Google surfaces showed that the alternative the Gemini API suggests,gemini-3.6-flash, had itself been retired on Vertex ten days earlier — so their original choice stood. Thank you.settingsis an allowlist per family rather than free-form. That column is returned to the console verbatim, so an unknown key is refused rather than discouraged — otherwise a pasted secret could land in the one column that is neither encrypted nor redacted.Authorization: Bearer.Upgrading
No breaking changes. Migration 183 widens the provider CHECK additively, so no existing row can be invalidated. Neither
stablechannel moves. The chart publishes as7.28.0, anappVersionmove carrying v23.9.0.Upgrade with
make upgrade, which runs the preflight, takes a pre-upgrade dump and applies the migration chain before starting services.make upstill never migrates, by design.Defects
2 defects were fixed in this release, and 5 across it and the two before it — 2 here, 0 in v23.8.0, 3 in v23.7.2 — counting distinct product or CI defects named in each release's Fixed and Security sections, with dependency-version advisories excluded.
What is not measured
Whether any vendor accepts these requests. There is no funded Google, AWS, Azure, OpenAI or Anthropic credential on this project, so no vendor endpoint was contacted for this release. What is established is the request AiSOC builds — verified live per family against a real HTTP server through the product's own transport, and, for SigV4, graded byte-for-byte against
botocore.Full notes: GitHub release · CHANGELOG · Documentation
Development of AiSOC is funded and supported by Cyble.
All reactions