@overmap-ai/core 1.0.48-add-agent-response-rating.0 → 1.0.48-add-agent-response-rating.1

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.
@@ -4242,7 +4242,7 @@ var __publicField = (obj, key, value) => {
4242
4242
  var _a2;
4243
4243
  return (_a2 = allMiddleware[0]) == null ? void 0 : _a2.run(action);
4244
4244
  }
4245
- const discardStatuses = [400, 409, 403, 404];
4245
+ const discardStatuses = [400, 409, 403, 404, 405, 500];
4246
4246
  const statusMessages = {
4247
4247
  403: { title: "Forbidden", description: "You are not authorized to perform this action.", severity: "danger" },
4248
4248
  404: { title: "Not found", description: "The requested resource was not found.", severity: "danger" }
@@ -7494,7 +7494,7 @@ var __publicField = (obj, key, value) => {
7494
7494
  const activeProjectId = this.client.store.getState().projectReducer.activeProjectId;
7495
7495
  return this.enqueueRequest({
7496
7496
  description: "Prompt agent",
7497
- method: HttpMethod.POST,
7497
+ method: HttpMethod.PUT,
7498
7498
  url: "/agents/prompt/",
7499
7499
  payload: {
7500
7500
  prompt: request2,