use std::sync::Arc; use axum::{ http::StatusCode, response::{IntoResponse, Response}, routing::post, Json, Router, }; use crate::AppState; pub fn router(state: Arc) -> Router { Router::new() .route("/chat", post(chat)) .with_state(state) } async fn chat() -> Result, Response> { // Chat endpoint removed — LLM runs on workers only Err((StatusCode::GONE, "Chat endpoint removed. LLM runs on workers.").into_response()) }