@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.esm.js CHANGED
@@ -40165,6 +40165,9 @@ const chatFilesApiSlice = createApi({
40165
40165
  method: 'POST',
40166
40166
  body: requestBody,
40167
40167
  service: SERVICES.DM,
40168
+ // A thrown error reaches the caller as `{}`; the chat needs the 400
40169
+ // body to tell an agent's file-type refusal from other failures.
40170
+ returnErrorStatuses: [400],
40168
40171
  }),
40169
40172
  }),
40170
40173
  }),