dx_forge/context/
ai_context.rs1use serde::{Deserialize, Serialize};
2use uuid::Uuid;
3
4#[derive(Debug, Clone, Serialize, Deserialize)]
5#[allow(dead_code)]
6pub struct AIContext {
7 pub operation_id: Uuid,
8 pub reasoning: String,
9 pub assumptions: Vec<String>,
10 pub constraints: Vec<String>,
11 pub related_discussions: Vec<Uuid>,
12}
13
14#[allow(dead_code)]
15impl AIContext {
16 pub fn new(operation_id: Uuid, reasoning: String) -> Self {
17 Self {
18 operation_id,
19 reasoning,
20 assumptions: Vec::new(),
21 constraints: Vec::new(),
22 related_discussions: Vec::new(),
23 }
24 }
25}