mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-17 07:17:18 +00:00
fix(runtime): preserve explicit replies and report bot configuration errors
This commit is contained in:
@@ -139,6 +139,9 @@ export abstract class BaseHttpClient {
|
||||
code: data?.code || status,
|
||||
msg: errMsg,
|
||||
data: data?.data || null,
|
||||
request_id:
|
||||
(data as { request_id?: string })?.request_id ||
|
||||
error.response.headers['x-request-id'],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user