Open-source inference server and production cluster for all the models your agent needs.
Python bgecolbertdata-pipelinedeep-learningembeddingsinferenceinference-serverinformation-retrievalllmmlmlopsnatural-language-processingnlppythonrerankingretrievalretrieval-augmented-generationsemantic-searchspladevector-search
feat(gateway): add public Docling model alias (#221)
svonava4b5ea9ccd5d5
diff --git a/packages/sie_gateway/src/config.rs b/packages/sie_gateway/src/config.rsindex 8be5cb40e..ba3971e68 100644--- a/packages/sie_gateway/src/config.rs+++ b/packages/sie_gateway/src/config.rs@@ -507,6 +507,10 @@ fn build_model_aliases(overrides: HashMap<String, String>) -> HashMap<String, St"guard".to_string(),"ibm-granite/granite-guardian-3.0-2b".to_string(),);+ // Docling is package-backed and registered internally as `docling`.+ // Accept the upstream repository path so public snippets follow the same+ // org/model shape as weight-backed models.+ map.insert("docling-project/docling".to_string(), "docling".to_string());for (alias, target) in overrides {let alias = alias.trim().to_lowercase();let target = target.trim().to_string();@@ -1085,6 +1089,15 @@ mod tests {);}+ #[test]+ fn test_build_model_aliases_has_builtin_docling_public_id() {+ let result = build_model_aliases(HashMap::new());+ assert_eq!(+ result.get("docling-project/docling"),+ Some(&"docling".to_string())+ );+ }+#[test]fn test_build_model_aliases_env_overrides_and_extends() {let mut overrides = HashMap::new();