fix: separate agent and memory endpoint namespaces
CI / CI (pull_request) Failing after 21m7s

/memory/* - memory service (organized by project)
/agents/* - agent service (separate offering)
This commit is contained in:
2026-09-15 08:53:11 +09:00
parent 3810babe10
commit b36327948d
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -440,9 +440,9 @@ pub async fn start_server(port: u16, api_key: String, database_url: &str) -> Res
.route("/agents/{id}", web::put().to(crate::handlers::agent_handler::update_agent_handler))
.route("/agents/{id}", web::delete().to(crate::handlers::agent_handler::delete_agent_handler))
.route("/agents/{id}/metrics", web::get().to(crate::handlers::agent_handler::get_agent_metrics_handler))
.route("/memory/agents/{project_id}/prompts", web::post().to(crate::handlers::agent_handler::create_prompt_handler))
.route("/memory/agents/{project_id}/roles", web::post().to(crate::handlers::agent_handler::map_role_to_prompt_handler))
.route("/memory/agents/{project_id}/roles/{role_name}/prompts", web::get().to(crate::handlers::agent_handler::get_role_prompts_handler))
.route("/agents/{id}/prompts", web::post().to(crate::handlers::agent_handler::create_prompt_handler))
.route("/agents/{id}/roles", web::post().to(crate::handlers::agent_handler::map_role_to_prompt_handler))
.route("/agents/{id}/roles/{role_name}/prompts", web::get().to(crate::handlers::agent_handler::get_role_prompts_handler))
});
tracing::info!("HttpServer instance created, binding to 0.0.0.0:{}", port);