regenerate OpenAPI spec and add model selection components

This commit is contained in:
Chris Scott committed 2026-01-10 18:39:12 -05:00
1 parent 9ed292af2a
commit 17ee96d316
12 files changed
+10266 -3453

No files matched your search

+2 -3
View File
@@ -3,12 +3,11 @@
import { writeFile } from 'fs/promises'
import { join, dirname } from 'path'
import { fileURLToPath } from 'url'
import {ENV} from '../backend/src/config'
const __dirname = dirname(fileURLToPath(import.meta.url))
const OPENCODE_URL = ENV.VITE_API_URL + '/api/opencode'
const API_URL = process.env.VITE_API_URL || 'http://localhost:8001'
const OPENCODE_URL = API_URL + '/api/opencode'
async function generateOpenAPISpec() {
console.log(`📥 Fetching OpenAPI spec from ${OPENCODE_URL}/doc`)