kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: exposure more detail within 4xx code
rodzic
ccdfd232d8
commit
11e44e6ba9
|
@ -155,7 +155,7 @@ export async function browserPostEventStream(
|
||||||
error: {
|
error: {
|
||||||
message: `ChatGPTAPI error ${res.status || res.statusText}`,
|
message: `ChatGPTAPI error ${res.status || res.statusText}`,
|
||||||
statusCode: res.status,
|
statusCode: res.status,
|
||||||
statusText: res.statusText
|
statusText: res.statusText || (await res.text())
|
||||||
},
|
},
|
||||||
conversationId,
|
conversationId,
|
||||||
messageId
|
messageId
|
||||||
|
|
Ładowanie…
Reference in New Issue