Skip to content

fix: don't break inspect if no accumulated facts#12

Merged
k13gomez merged 2 commits intogateless:mainfrom
luciolucio:main
Mar 28, 2025
Merged

fix: don't break inspect if no accumulated facts#12
k13gomez merged 2 commits intogateless:mainfrom
luciolucio:main

Conversation

@luciolucio
Copy link
Copy Markdown

Rules inspection can fail here:
https://github.com/k13labs/clara-rules/blob/main/src/main/clojure/clara/rules/engine.clj#L1385

If it tries to take first when the below get-in results in the default :clara.rules.memory/no-accum-reduced
https://github.com/k13labs/clara-rules/blob/main/src/main/clojure/clara/rules/memory.clj#L495

@k13gomez
Copy link
Copy Markdown
Member

LGTM

@k13gomez k13gomez added the bug Something isn't working label Mar 28, 2025
@k13gomez k13gomez merged commit 119cbf7 into gateless:main Mar 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants