Code

History

Commits on git-panel-commit-editor to crates/collab/src/api/billing.rs35
  1. collab: Make `metrics_id` required in `LlmTokenClaims` (#21771)Marshall Bowers committed 1 year ago8a85d6e
  2. collab: Prevent `max_monthly_llm_usage_spending_in_cents` from being negative (#21768)Marshall Bowers committed 1 year agobdeac79
  3. Send an event when user changes their max monthly spend limit (#21664)Joseph T. Lyons committed 1 year agoe019d14
  4. collab: Include `checkout_complete` query parameter after checking out (#19763)Marshall Bowers committed 2 years agoc19c89e
  5. collab: Return free tier usage from `GET /billing/monthly_spend` (#19578)Marshall Bowers committed 2 years agodcb0da0
  6. collab: Prevent users from ending up with multiple active billing subscriptions (#19574)Marshall Bowers committed 2 years ago21a44d7
  7. collab: Add support for a custom monthly allowance for LLM usage (#19525)Marshall Bowers committed 2 years ago1a4b253
  8. Subtract FREE_TIER_MONTHLY_SPENDING_LIMIT from reported monthly spend (#19358)Antonio Scandurra committed 2 years ago8c91054
  9. Introduce a new /billing/monthly_spend API (#19354)Antonio Scandurra committed 2 years ago455f241
  10. Fetch more than one page when polling stripe events (#19343)Antonio Scandurra committed 2 years ago498ecd6
  11. collab: Add context to errors syncing billing events to Stripe (#19315)Marshall Bowers committed 2 years agofedd177
  12. collab: Refresh the user's LLM token when their subscription changes (#19281)Marshall Bowers committed 2 years ago598939d
  13. collab: Make the `StripeBilling` object long-lived (#19090)Marshall Bowers committed 2 years agof280b29
  14. collab: Add usage-based billing for LLM interactions (#19081)Marshall Bowers committed 2 years ago22ea7ce
  15. collab: Fix issues with syncing LLM usage to Stripe (#18970)Marshall Bowers committed 2 years agocae548a
  16. collab: Add billing preferences for maximum LLM monthly spend (#18948)Marshall Bowers committed 2 years agod316577
  17. collab: Clarify naming around free tier spending limits (#18936)Marshall Bowers committed 2 years agof1053ff
  18. collab: Add a `Cents` type (#18935)Marshall Bowers committed 2 years ago817a41c
  19. collab: Update billing code for LLM usage billing (#18879)Marshall Bowers committed 2 years agof861479
  20. chore: Fix several style lints (#17488)Piotr Osiewicz committed 2 years agoe6c1c51
  21. Introduce a separate backend service for LLM calls (#15831)Max Brunsfeld committed 2 years ago8e9c2b1
  22. collab: Ignore Stripe events that are older than an hour (#15830)Marshall Bowers committed 2 years ago4ed43e6
  23. Rename `zed.dev/settings` to `zed.dev/account` (#15636)Marshall Bowers committed 2 years ago4bfb8fd
  24. collab: Increase the frequency at which we poll for Stripe events (#15577)Marshall Bowers committed 2 years ago218776a
  25. collab: Fix spelling of "cancellation" (#15569)Marshall Bowers committed 2 years ago0d9a6d2
  26. collab: Use the right `zed.dev` URL for the environment (#15566)Marshall Bowers committed 2 years ago2bc0a58
  27. Allow users to stop a previously scheduled cancelation of their Zed Pro plan (#15562)Max Brunsfeld committed 2 years ago1b2d4ee
  28. collab: Adapt rate limits based on plan (#15548)Marshall Bowers committed 2 years ago8c54a46
  29. collab: Add `GET /billing/subscriptions` endpoint (#15516)Marshall Bowers committed 2 years ago2b019ff
  30. collab: Rework Stripe event processing (#15510)Marshall Bowers committed 2 years ago7c5f4b7
  31. collab: Keep track of last seen Stripe event for each record (#15480)Marshall Bowers committed 2 years agob160e13
  32. collab: Lay groundwork for reconciling with Stripe using the events API (#15459)Marshall Bowers committed 2 years agod93891b
  33. collab: Add separate `billing_customers` table (#15457)Marshall Bowers committed 2 years ago28c14cd
  34. collab: Add endpoint for managing a billing subscription (#15455)Marshall Bowers committed 2 years ago66121fa
  35. collab: Add endpoint for initiating a billing subscription (#15452)Marshall Bowers committed 2 years agoe15d59c