feat: add Node.js version warning, fix provider URL detection, and add v0.4.4 changelog (#146)

- Display persistent warning bar when Node.js version < 23
- Fix provider model fetching to support non-v1 API versions (e.g. /v4)
- Add v0.4.4 changelog entries to frontend
- Bump version to 0.4.4

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-04-23 12:57:42 +08:00
committed by GitHub
parent 0cc31ee999
commit 1abe308742
16 changed files with 87 additions and 3 deletions
@@ -95,7 +95,7 @@ async function fetchModels() {
fetchingModels.value = true
try {
const base = base_url.replace(/\/+$/, '')
const url = base.endsWith('/v1') ? `${base}/models` : `${base}/v1/models`
const url = /\/v\d+\/?$/.test(base) ? `${base}/models` : `${base}/v1/models`
const headers: Record<string, string> = {}
if (formData.value.api_key.trim()) {
headers['Authorization'] = `Bearer ${formData.value.api_key.trim()}`