mirror of
https://github.com/openai/openai-go.git
synced 2026-03-31 16:47:11 +09:00
fix lint errors in examples
This commit is contained in:
committed by
stainless-app[bot]
parent
f82e521740
commit
a5af9bcd7e
@@ -2,8 +2,6 @@ package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/openai/openai-go/v3"
|
||||
|
||||
@@ -13,7 +13,7 @@ func main() {
|
||||
ctx := context.Background()
|
||||
|
||||
video, err := client.Videos.NewAndPoll(ctx, openai.VideoNewParams{
|
||||
Model: openai.VideoNewParamsModelSora2,
|
||||
Model: openai.VideoModelSora2,
|
||||
Prompt: "A video of the words 'Thank you' in sparkling letters",
|
||||
}, 1000)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user