Skip to content

Commit 084f237

Browse files
committed
fix: restore config load log and state merge JSON payload
1 parent bcb7f60 commit 084f237

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

crates/brightstaff/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ async fn run_server(state: Arc<AppState>) -> Result<(), Box<dyn std::error::Erro
321321
async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
322322
let config = load_config()?;
323323
let _tracer_provider = init_tracer(config.tracing.as_ref());
324+
info!("loaded plano_config.yaml");
324325
let state = Arc::new(init_app_state(&config).await?);
325326
run_server(state).await
326327
}

crates/brightstaff/src/state/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ pub trait StateStorage: Send + Sync {
9292
prev_items = prev_count,
9393
current_items = current_count,
9494
total_items = combined_input.len(),
95+
combined_json = %serde_json::to_string(&combined_input).unwrap_or_else(|_| "serialization_error".to_string()),
9596
"merged conversation state"
9697
);
9798

0 commit comments

Comments
 (0)