chore: embedding model
This commit is contained in:
@@ -11,6 +11,9 @@ export async function execChatCompletions(params: any) {
|
||||
});
|
||||
}
|
||||
|
||||
export const queryModelsList = async () => {
|
||||
return request(`${OPENAI_MODELS}`);
|
||||
export const queryModelsList = async (params: any) => {
|
||||
return request(`${OPENAI_MODELS}`, {
|
||||
method: 'GET',
|
||||
params
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user