v0.2.10 hardware backend URL normalization + path fallback

This commit is contained in:
local
2026-05-12 01:00:48 -05:00
parent 8ffc3ffb73
commit 0a0fa009ec
4 changed files with 121 additions and 49 deletions
+13
View File
@@ -0,0 +1,13 @@
import { VersionInfo } from '@start9labs/start-sdk'
export const v_0_2_10 = VersionInfo.of({
version: '0.2.10:0',
releaseNotes: {
en_US:
'Hardware backend (Parakeet + Gemma) is now robust to two common URL-config mistakes: (1) base URLs that already end in /v1 no longer produce /v1/v1/... requests — the trailing /v1 is stripped before path-appending, (2) wrappers that expose the endpoint at /audio/transcriptions or /chat/completions (without the /v1 prefix) are auto-tried as a fallback when the standard path 404s. Failure messages now include the exact attempted URL so misconfigured endpoints are obvious in the relay logs and the audit log.',
},
migrations: {
up: async ({ effects }) => {},
down: async ({ effects }) => {},
},
})