collab: Add usages
table to LLM database (#15884)
This PR adds a `usages` table to the LLM database. We'll use this to track usage for rate-limiting purposes. Release Notes: - N/A
This commit is contained in:
parent
4f69336024
commit
a54e16b7ea
10 changed files with 165 additions and 1 deletions
|
@ -3,5 +3,6 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
use crate::id_type;
|
||||
|
||||
id_type!(ProviderId);
|
||||
id_type!(ModelId);
|
||||
id_type!(ProviderId);
|
||||
id_type!(UsageId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue