mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 21:42:27 +08:00
refactor(openai): remove unnecessary await in createVideo method
This commit is contained in:
parent
a1fde0db38
commit
833d2d9276
@ -155,7 +155,7 @@ export class OpenAIResponseAPIClient extends OpenAIBaseClient<
|
||||
|
||||
public async createVideo(params: CreateVideoParams): Promise<OpenAI.Videos.Video> {
|
||||
const sdk = await this.getSdkInstance()
|
||||
return await sdk.videos.create(params.params, params.options)
|
||||
return sdk.videos.create(params.params, params.options)
|
||||
}
|
||||
|
||||
private async handlePdfFile(file: FileMetadata): Promise<OpenAI.Responses.ResponseInputFile | undefined> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user