Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
c048ca80
Unverified
Commit
c048ca80
authored
Apr 22, 2026
by
Wesley Liddick
Committed by
GitHub
Apr 22, 2026
Browse files
Merge branch 'main' into rebuild/auth-identity-foundation
parents
22385be5
4d0483f5
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/service/openai_images.go
View file @
c048ca80
...
@@ -1752,8 +1752,8 @@ func newOpenAIImageStatusError(resp *req.Response, fallback string) error {
...
@@ -1752,8 +1752,8 @@ func newOpenAIImageStatusError(resp *req.Response, fallback string) error {
if
resp
.
Response
!=
nil
{
if
resp
.
Response
!=
nil
{
headers
=
resp
.
Header
.
Clone
()
headers
=
resp
.
Header
.
Clone
()
requestID
=
strings
.
TrimSpace
(
resp
.
Header
.
Get
(
"x-request-id"
))
requestID
=
strings
.
TrimSpace
(
resp
.
Header
.
Get
(
"x-request-id"
))
if
resp
.
Response
.
Request
!=
nil
&&
resp
.
Response
.
Request
.
URL
!=
nil
{
if
resp
.
Request
!=
nil
&&
resp
.
Request
.
URL
!=
nil
{
requestURL
=
resp
.
Response
.
Request
.
URL
.
String
()
requestURL
=
resp
.
Request
.
URL
.
String
()
}
}
if
resp
.
Body
!=
nil
{
if
resp
.
Body
!=
nil
{
body
,
_
=
io
.
ReadAll
(
io
.
LimitReader
(
resp
.
Body
,
2
<<
20
))
body
,
_
=
io
.
ReadAll
(
io
.
LimitReader
(
resp
.
Body
,
2
<<
20
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment