Skip to content

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
DDMeaqua committed Sep 18, 2024
1 parent a3b6647 commit 10d7a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/client/platforms/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export interface DalleRequestPayload {
export class ChatGPTApi implements LLMApi {
private disableListModels = true;

path(path: string, model?: string): string {
path(path: string): string {
const accessStore = useAccessStore.getState();

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

try {
const speechPath = this.path(OpenaiPath.SpeechPath, options.model);
const speechPath = this.path(OpenaiPath.SpeechPath);
const speechPayload = {
method: "POST",
body: JSON.stringify(requestPayload),
Expand Down

0 comments on commit 10d7a64

Please sign in to comment.