You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Change model from dall-e-2 to gpt-image-1-mini in README and tests
- Update model key constants in test files to use proper API constants
Signed-off-by: Hrushikesh Patil <[email protected]>
Copy file name to clipboardExpand all lines: tests/internal/testopenai/cassettes/image-generation-basic.yaml
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,14 @@ interactions:
6
6
proto: HTTP/1.1
7
7
proto_major: 1
8
8
proto_minor: 1
9
-
content_length: 105
9
+
content_length: 139
10
10
host: api.openai.com
11
-
body: "{\n\"model\": \"dall-e-2\",\n\"prompt\": \"A simple black-and-white line drawing of a cat playing with yarn\"\n}"
11
+
body: "{\n\"model\": \"gpt-image-1-mini\",\n\"prompt\": \"A simple black-and-white line drawing of a cat playing with yarn\",\n\"size\": \"1024x1024\",\n\"quality\": \"low\"\n}"
0 commit comments