This commit is contained in:
Timothy Jaeryang Baek committed 2024-11-29 01:02:32 -08:00
1 parent a07213b5be
commit f547f1424c
4 files changed
+38 -39

No files matched your search

+2 -2
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
})
})