feat: completed image ingestion with system settings

styling
This commit is contained in:
Per Stark
2025-06-27 21:40:44 +02:00
parent f1548d18db
commit 43263fa77e
11 changed files with 157 additions and 13 deletions

View File

@@ -5,8 +5,9 @@ use axum::{
Router,
};
use handlers::{
patch_ingestion_prompt, patch_query_prompt, show_admin_panel, show_edit_ingestion_prompt,
show_edit_system_prompt, toggle_registration_status, update_model_settings,
patch_image_prompt, patch_ingestion_prompt, patch_query_prompt, show_admin_panel,
show_edit_image_prompt, show_edit_ingestion_prompt, show_edit_system_prompt,
toggle_registration_status, update_model_settings,
};
use crate::html_state::HtmlState;
@@ -24,4 +25,6 @@ where
.route("/update-query-prompt", patch(patch_query_prompt))
.route("/edit-ingestion-prompt", get(show_edit_ingestion_prompt))
.route("/update-ingestion-prompt", patch(patch_ingestion_prompt))
.route("/edit-image-prompt", get(show_edit_image_prompt))
.route("/update-image-prompt", patch(patch_image_prompt))
}