Session infrastructure: OpenRouter + tree-split reducer + observer→LLM Team + scrum_applier #11
@ -1,12 +1,10 @@
|
||||
use axum::{routing::get, Router};
|
||||
use serde::Serialize;
|
||||
use truth::default_truth_store;
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn truth_router() -> Router {
|
||||
Router::new()
|
||||
.route("/context", get(context))
|
||||
}
|
||||
// Note: truth_router() was a stub wrapper around a single /context route
|
||||
// that nothing called — v1/mod.rs wires get(truth::context) directly
|
||||
// onto its own router. Removed 2026-04-24 along with its #[allow(dead_code)]
|
||||
// attribute; the handler below is the real surface.
|
||||
|
||||
#[derive(Serialize)]
|
||||
pub struct ContextResponse {
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#[allow(unused_imports)]
|
||||
use axum::{
|
||||
Json, Router,
|
||||
extract::{Multipart, Path, Query, State},
|
||||
http::{HeaderMap, StatusCode},
|
||||
response::IntoResponse,
|
||||
routing::{delete, get, patch, post},
|
||||
routing::{get, post},
|
||||
};
|
||||
use bytes::Bytes;
|
||||
use object_store::ObjectStore;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user