Skip to content

Commit 10d7a64

Browse files
committed
fix: error
1 parent a3b6647 commit 10d7a64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/client/platforms/openai.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface DalleRequestPayload {
7979
export class ChatGPTApi implements LLMApi {
8080
private disableListModels = true;
8181

82-
path(path: string, model?: string): string {
82+
path(path: string): string {
8383
const accessStore = useAccessStore.getState();
8484

8585
let baseUrl = "";
@@ -157,7 +157,7 @@ export class ChatGPTApi implements LLMApi {
157157
options.onController?.(controller);
158158

159159
try {
160-
const speechPath = this.path(OpenaiPath.SpeechPath, options.model);
160+
const speechPath = this.path(OpenaiPath.SpeechPath);
161161
const speechPayload = {
162162
method: "POST",
163163
body: JSON.stringify(requestPayload),

0 commit comments

Comments
 (0)