We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3b6647 commit 10d7a64Copy full SHA for 10d7a64
1 file changed
app/client/platforms/openai.ts
@@ -79,7 +79,7 @@ export interface DalleRequestPayload {
79
export class ChatGPTApi implements LLMApi {
80
private disableListModels = true;
81
82
- path(path: string, model?: string): string {
+ path(path: string): string {
83
const accessStore = useAccessStore.getState();
84
85
let baseUrl = "";
@@ -157,7 +157,7 @@ export class ChatGPTApi implements LLMApi {
157
options.onController?.(controller);
158
159
try {
160
- const speechPath = this.path(OpenaiPath.SpeechPath, options.model);
+ const speechPath = this.path(OpenaiPath.SpeechPath);
161
const speechPayload = {
162
method: "POST",
163
body: JSON.stringify(requestPayload),
0 commit comments