chore: ts error

This commit is contained in:
DDMeaqua 2024-10-11 20:02:10 +08:00
parent 6e38569d5c
commit d7eee52a44

View File

@ -198,7 +198,7 @@ export class ChatGPTApi implements LLMApi {
options.onController?.(controller);
try {
const path = this.path(OpenaiPath.TranscriptionPath, options.model);
const path = this.path(OpenaiPath.TranscriptionPath);
const headers = getHeaders(true);
const payload = {
method: "POST",