ZIm/crates/collab/src/llm/db/ids.rs
Max Brunsfeld 06625bfe94
Apply rate limits in LLM service (#15997)
Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-08-08 15:46:33 -07:00

9 lines
187 B
Rust

use sea_orm::{entity::prelude::*, DbErr};
use serde::{Deserialize, Serialize};
use crate::id_type;
id_type!(ModelId);
id_type!(ProviderId);
id_type!(UsageId);
id_type!(UsageMeasureId);