firstbatchxyz / firstbatch-sdk-ts

TypeScript SDK for FirstBatch: Real-time Personalization using VectorDBs.
https://firstbatch.xyz/
MIT License
5 stars 1 forks source link

Within `addSignal`, must `addHistory` on success only #15

Closed erhant closed 8 months ago

erhant commented 8 months ago

This one in particular:

 if (this.enableHistory) {
      await this.addHistory(session, [contentId]);
    }

should respect resp.success