This commit is contained in:
Timothy Jaeryang Baek
2024-11-29 01:02:32 -08:00
parent a07213b5be
commit f547f1424c
4 changed files with 38 additions and 39 deletions

View File

@@ -403,7 +403,7 @@ export const generateAutoCompletion = async (
token: string = '',
model: string,
prompt: string,
context: string = 'search',
type: string = 'search query',
) => {
const controller = new AbortController();
let error = null;
@@ -419,7 +419,7 @@ export const generateAutoCompletion = async (
body: JSON.stringify({
model: model,
prompt: prompt,
context: context,
type: type,
stream: false
})
})