@iblai/data-layer 1.35.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -40167,6 +40167,9 @@ const chatFilesApiSlice = react.createApi({
40167
40167
  method: 'POST',
40168
40168
  body: requestBody,
40169
40169
  service: exports.SERVICES.DM,
40170
+ // A thrown error reaches the caller as `{}`; the chat needs the 400
40171
+ // body to tell an agent's file-type refusal from other failures.
40172
+ returnErrorStatuses: [400],
40170
40173
  }),
40171
40174
  }),
40172
40175
  }),