This commit is contained in:
2026-08-22 20:34:43 +02:00
parent 120b6cf4d5
commit da151c13ed
14 changed files with 366 additions and 21 deletions
+9
View File
@@ -0,0 +1,9 @@
use super::handlers;
use crate::core::state::AppState;
use axum::{routing::{get, post}, Router};
pub fn router() -> Router<AppState> {
Router::new()
.route("/conversations", get(handlers::list).post(handlers::create))
.route("/conversations/{id}/fork", post(handlers::fork))
}