@overmap-ai/core 1.0.53-add-agent-conversations.15 → 1.0.53-add-agent-conversations.17

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.
@@ -5355,6 +5355,9 @@ var __publicField = (obj, key, value) => {
5355
5355
  }
5356
5356
  async setTourStep(stepIndex) {
5357
5357
  this.client.store.dispatch(setTourStep(stepIndex));
5358
+ const currentStep = this.client.store.getState().userReducer.currentUser.profile.tour_step;
5359
+ if (currentStep === stepIndex)
5360
+ return Promise.resolve(void 0);
5358
5361
  return this.enqueueRequest({
5359
5362
  description: "Set tour step",
5360
5363
  method: HttpMethod.PATCH,
@@ -8380,7 +8383,7 @@ var __publicField = (obj, key, value) => {
8380
8383
  return this.enqueueRequest({
8381
8384
  description: "Start agent conversation",
8382
8385
  method: HttpMethod.POST,
8383
- url: "/agents/start/",
8386
+ url: "/agents/prompt/",
8384
8387
  payload: {
8385
8388
  prompt,
8386
8389
  active_project: activeProjectId