fix(config): derive JsonSchema for embedding routes
This commit is contained in:
parent
572aa77c2a
commit
c57f3f51a0
1 changed files with 1 additions and 1 deletions
|
|
@ -1839,7 +1839,7 @@ pub struct ModelRouteConfig {
|
||||||
/// [memory]
|
/// [memory]
|
||||||
/// embedding_model = "hint:semantic"
|
/// embedding_model = "hint:semantic"
|
||||||
/// ```
|
/// ```
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
|
||||||
pub struct EmbeddingRouteConfig {
|
pub struct EmbeddingRouteConfig {
|
||||||
/// Route hint name (e.g. "semantic", "archive", "faq")
|
/// Route hint name (e.g. "semantic", "archive", "faq")
|
||||||
pub hint: String,
|
pub hint: String,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue