[gemini] refactor: Gracefully handle tool registration errors (#938) #1132
Reference in New Issue
Block a user
Delete Branch "gemini/issue-938"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #938
I have refactored the tool registration functions in
src/timmy/tools.pyto raise exceptions when a tool fails to register. This prevents silent failures where the application would continue to run without the expected tools, which could lead to unexpected behavior.I also updated the lightning invoice creation in
consult_grokto return an error message on failure.