fix(config): derive JsonSchema for embedding routes

This commit is contained in:
Chummy 2026-02-19 17:54:30 +08:00
parent 572aa77c2a
commit c57f3f51a0

View file

@ -1839,7 +1839,7 @@ pub struct ModelRouteConfig {
/// [memory]
/// embedding_model = "hint:semantic"
/// ```
#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
pub struct EmbeddingRouteConfig {
/// Route hint name (e.g. "semantic", "archive", "faq")
pub hint: String,