trustgraph/trustgraph-flow
SAY-5 0ed5ec00b3 fix(ontology): guard against empty query string in SPARQL generator
Closes #870.  query.split()[0] in _generate_with_llm raised IndexError
when the LLM response 'query' field passed the keyword-startswith guard
but split to an empty list (e.g. if the guard is ever weakened during
refactoring).  Compute parts once, return None when empty, and reuse
parts[0] for the query_type read.

Signed-off-by: SAY-5 <saiasish.cnp@gmail.com>
2026-05-07 02:47:15 -07:00
..
trustgraph fix(ontology): guard against empty query string in SPARQL generator 2026-05-07 02:47:15 -07:00
pyproject.toml feat: IAM service, gateway auth middleware, capability model, and CLIs (#849) 2026-04-24 17:29:10 +01:00
README.md Maint/fix build env (#84) 2024-09-30 19:47:09 +01:00