adk-gateway 1.0.0

Multi-channel AI gateway for adk-rust agents — Telegram, Slack, WhatsApp, Discord, Matrix + control panel
1
2
3
4
5
6
7
8
9
10
//! Configuration JSON API handler.

use super::ControlPanelState;
use std::sync::Arc;

pub(crate) async fn config_json(
    axum::extract::State(state): axum::extract::State<Arc<ControlPanelState>>,
) -> axum::Json<serde_json::Value> {
    axum::Json(state.redacted_config())
}