fix: api info example

This commit is contained in:
jialin
2025-11-20 11:47:09 +08:00
parent 8f9562d6a4
commit de882dc62e
7 changed files with 27 additions and 14 deletions
+3 -1
View File
@@ -92,7 +92,9 @@ export const generateTextToSpeechCurlCode = ({
parameters
}: Record<string, any>) => {
const host = window.location.origin;
const api = url.replace(OPENAI_COMPATIBLE, GPUSTACK_API);
const api = modelProxy
? `${MODEL_PROXY}/\${YOUR_API_PATH}`
: url.replace(OPENAI_COMPATIBLE, GPUSTACK_API);
// ========================= Curl =========================
const curlCode = `