feat: init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
||||
pub struct AiModelVersion {
|
||||
pub id: Uuid,
|
||||
pub ai_model_id: Uuid,
|
||||
pub version: String,
|
||||
pub provider_model_id: String,
|
||||
pub context_window: Option<i32>,
|
||||
pub max_output_tokens: Option<i32>,
|
||||
pub changelog: Option<String>,
|
||||
pub stable: bool,
|
||||
pub deprecated: bool,
|
||||
pub released_at: Option<DateTime<Utc>>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user