ZIm/crates/collab/src
Marshall Bowers 340662e2f7
collab: Add lifetime spending limit for LLM usage (#16780)
This PR adds a lifetime spending limit on LLM usage.

Exceeding this limit will prevent further use of the Zed LLM provider.

Currently the cap is $1,000.

Release Notes:

- N/A
2024-08-23 16:41:16 -04:00
..
api collab: Fix writing LLM rate limit events to Clickhouse (#16367) 2024-08-16 14:03:34 -04:00
bin Fix .env.toml paths (#15645) 2024-08-01 15:43:29 -04:00
db collab: Upsert users by github_user_id instead of github_login (#16706) 2024-08-22 19:15:32 -04:00
llm collab: Track active user counts independently for each model (#16624) 2024-08-21 17:19:47 -04:00
rpc remoting: Allow Add/Remove remote folder (#14532) 2024-07-16 12:01:59 -06:00
tests Rename is_local to is_local_or_ssh (#16717) 2024-08-22 21:32:51 -06:00
api.rs collab: Make users.github_user_id required and unique (#16704) 2024-08-22 18:27:22 -04:00
auth.rs Introduce a separate backend service for LLM calls (#15831) 2024-08-05 20:26:21 -04:00
clickhouse.rs collab: Fix writing LLM rate limit events to Clickhouse (#16367) 2024-08-16 14:03:34 -04:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs collab: Setup database for LLM service (#15882) 2024-08-06 17:18:08 -04:00
env.rs collab: Add support for reading boolean values from .env.toml (#16317) 2024-08-15 17:07:17 -04:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs collab: Backfill github_user_created_at on users (#16600) 2024-08-21 12:38:51 -04:00
llm.rs collab: Add lifetime spending limit for LLM usage (#16780) 2024-08-23 16:41:16 -04:00
main.rs collab: Track active user counts independently for each model (#16624) 2024-08-21 17:19:47 -04:00
migrations.rs collab: Remove unused parameter to run_database_migrations (#15883) 2024-08-06 17:31:52 -04:00
rate_limiter.rs Show rate limit notices (#15515) 2024-07-31 12:05:19 -07:00
rpc.rs Add logic for closed beta LLM models (#16482) 2024-08-19 11:09:52 -07:00
seed.rs collab: Make users.github_user_id required and unique (#16704) 2024-08-22 18:27:22 -04:00
tests.rs Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
user_backfiller.rs collab: Look up users using github_user_id when backfilling (#16708) 2024-08-22 19:58:04 -04:00