fix: remove limit/offset from required in list_knowledge_chunks JSON Schema

limit and offset are optional parameters with default values (limit=20,
offset=0). Marking them as required in the JSON Schema forces LLM clients
to always supply them, breaking calls that rely on the defaults.

Fixes #1003
This commit is contained in:
draix
2026-04-21 09:18:25 -03:00
committed by lyingbug
parent 4ca0c7a644
commit 5591c84e7f
@@ -52,7 +52,7 @@ Full chunk content with chunk_id, chunk_index, and content text.`,
"minimum": 0
}
},
"required": ["knowledge_id", "limit", "offset"]
"required": ["knowledge_id"]
}`),
}