@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.
package/dist/overmap-core.js
CHANGED
|
@@ -4251,7 +4251,7 @@ function runMiddleware(action) {
|
|
|
4251
4251
|
var _a2;
|
|
4252
4252
|
return (_a2 = allMiddleware[0]) == null ? void 0 : _a2.run(action);
|
|
4253
4253
|
}
|
|
4254
|
-
const discardStatuses = [400, 409, 403, 404];
|
|
4254
|
+
const discardStatuses = [400, 409, 403, 404, 405, 500];
|
|
4255
4255
|
const statusMessages = {
|
|
4256
4256
|
403: { title: "Forbidden", description: "You are not authorized to perform this action.", severity: "danger" },
|
|
4257
4257
|
404: { title: "Not found", description: "The requested resource was not found.", severity: "danger" }
|
|
@@ -7503,7 +7503,7 @@ class AgentService extends BaseApiService {
|
|
|
7503
7503
|
const activeProjectId = this.client.store.getState().projectReducer.activeProjectId;
|
|
7504
7504
|
return this.enqueueRequest({
|
|
7505
7505
|
description: "Prompt agent",
|
|
7506
|
-
method: HttpMethod.
|
|
7506
|
+
method: HttpMethod.PUT,
|
|
7507
7507
|
url: "/agents/prompt/",
|
|
7508
7508
|
payload: {
|
|
7509
7509
|
prompt: request2,
|