@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.
@@ -5365,6 +5365,9 @@ class AuthService extends BaseApiService {
5365
5365
  }
5366
5366
  async setTourStep(stepIndex) {
5367
5367
  this.client.store.dispatch(setTourStep(stepIndex));
5368
+ const currentStep = this.client.store.getState().userReducer.currentUser.profile.tour_step;
5369
+ if (currentStep === stepIndex)
5370
+ return Promise.resolve(void 0);
5368
5371
  return this.enqueueRequest({
5369
5372
  description: "Set tour step",
5370
5373
  method: HttpMethod.PATCH,
@@ -8390,7 +8393,7 @@ class AgentService extends BaseApiService {
8390
8393
  return this.enqueueRequest({
8391
8394
  description: "Start agent conversation",
8392
8395
  method: HttpMethod.POST,
8393
- url: "/agents/start/",
8396
+ url: "/agents/prompt/",
8394
8397
  payload: {
8395
8398
  prompt,
8396
8399
  active_project: activeProjectId