Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Enrichment feature uses a lot of synth API #1548

Closed
mamarguerat opened this issue Dec 16, 2024 · 7 comments
Closed

Bug: Enrichment feature uses a lot of synth API #1548

mamarguerat opened this issue Dec 16, 2024 · 7 comments
Labels
🐛 Bug Something isn't working

Comments

@mamarguerat
Copy link

Describe the bug
My instance updated with the last commit tried to enrich all of my transactions, causing my synth API to run out of available requested. All the transaction from 1st May (I have more than a thousand transactions) uses an API credit.

To Reproduce
Steps to reproduce the behavior:

  1. Have a working Maybe instance with a lot of transactions without commit with enrichment feature.
  2. Update with enrichment feature
  3. See Synth API credits lowering

Expected behavior
The enrichment feature should begin from the update date only and not for older transactions, with a manual action to enrich older transactions, or at least be opt-in for self-hosted.

What version of Maybe are you using?
Self-hosted at commit fe199f2

What operating system and browser are you using?
Windows 11
Firefox

Screenshots / Recordings

Additional context
I am the only user on my instance, with 3 accounts with foreign currency and the free tier at Synth. The expected synth API usage should be 1 per account per day => 90 which gives 910 credits for the data enrichment, This should be more than enough for the normal transactions I have in a month.

@mamarguerat mamarguerat added the 🐛 Bug Something isn't working label Dec 16, 2024
@zachgoll
Copy link
Collaborator

zachgoll commented Dec 16, 2024

@mamarguerat we're still working through what the appropriate pricing looks like for Synth, but I think given this is "enrichment" and not 100% required, we can go ahead and flip it off by default in user settings. Then, users can opt-in rather than opt-out of this feature.

CleanShot 2024-12-16 at 10 36 43

I'll get this updated shortly.

@zachgoll
Copy link
Collaborator

This is updated as of the latest commit.

You may need to go into "Self Hosting Settings" and flip this off manually once as the change I've made should only affect new instances that are created.

@nikhilbadyal
Copy link
Contributor

@zachgoll
Just a quick off-topic question:

Is the Synth free tier 1,000 credits per month, or is it a one-time sign-up bonus of 1,000 credits?

Additionally, if it's 1,000 credits per month, is there a way to track when the counter will reset to zero?

@zachgoll
Copy link
Collaborator

@nikhilbadyal it should be 1,000 new credits each month.

I do not believe we have the ability to show the date which these credits reset at the moment.

@Shpigford are we thinking of keeping enrichment pricing the same for now? Is there a spot where users can see when credits reset for the month?

@zachgoll
Copy link
Collaborator

I've opened - #1549

This should give us more control around that initial enrichment sync.

@mamarguerat
Copy link
Author

@zachgoll thank for the quick fix !

@Shpigford
Copy link
Member

@zachgoll @nikhilbadyal Credits reset on the 1st of every month. Have added that to both the Synth UI and the API.

No plans on changing pricing at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants