greentic-flow-builder 0.1.0

AI-powered Adaptive Card flow builder with visual graph editor and demo runner
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Shared application state for the Axum UI server.

use crate::registry::TemplateRegistry;
use std::sync::Arc;

/// Shared state injected into every request handler.
pub struct AppState {
    pub openai_api_key: String,
    pub model: String,
    pub registry: Arc<TemplateRegistry>,
    pub system_prompt: String,
}