recursive

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto
2026-01-04 18:00:14 +00:00
parent e0e904ff98
commit 93d3e4257a
2 changed files with 75 additions and 55 deletions

View File

@@ -293,6 +293,8 @@ json parse_options(bool streaming, const backend::PredictOptions* predict, const
return data;
}
// Sanitize tools JSON to remove null values from tool.parameters.properties
// This prevents Jinja template errors when processing tools with malformed parameter schemas
const std::vector<ggml_type> kv_cache_types = {
GGML_TYPE_F32,