perf: chat completion api

This commit is contained in:
archer
2023-08-07 13:18:45 +08:00
parent 2f614ac40d
commit c26be2e885
6 changed files with 47 additions and 17 deletions

View File

@@ -31,6 +31,7 @@ export const streamFetch = ({
signal: abortSignal.signal,
body: JSON.stringify({
...data,
detail: true,
stream: true
})
});