Skip to content

Commit 1f8fa13

Browse files
committed
fix: fixed reasoning namespace to append thoughts instead of overwriting the existing ones
1 parent ab7c1a1 commit 1f8fa13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nerve/tools/namespaces/reasoning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def think(thought: Annotated[str, "A thought to think about"]) -> None:
3636
Integrate validated steps into a coherent solution.
3737
Summarize key insights and ensure the conclusion directly addresses the original query.
3838
"""
39-
state.write_knowledge("thoughts", thought)
39+
state.append_to_knowledge("thoughts", thought)
4040

4141

4242
def clear_thoughts() -> None:

0 commit comments

Comments
 (0)