chore: update /v1-openai to /v1 in playground test code

This commit is contained in:
jialin
2025-02-25 16:10:40 +08:00
parent e1959f74aa
commit 600f457bc2
7 changed files with 23 additions and 11 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { request } from '@umijs/max';
export const OPENAI_COMPATIBLE = 'v1-openai';
export const OPENAI_COMPATIBLE = 'v1';
export const CHAT_API = `/${OPENAI_COMPATIBLE}/chat/completions`;
@@ -9,7 +9,7 @@ export const EDIT_IMAGE_API = `/${OPENAI_COMPATIBLE}/images/edits`;
export const EMBEDDING_API = `/${OPENAI_COMPATIBLE}/embeddings`;
export const OPENAI_MODELS = `/${OPENAI_COMPATIBLE}/models`;
export const OPENAI_MODELS = `/v1-openai/models`;
export const RERANKER_API = '/rerank';