Skip to content

Tags: meistrari/prai

Tags

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: improve AI response handling and remove safeParseJson dependency (

…#4)

* fix: improve AI response handling and remove safeParseJson dependency

- Refactored getAIResponse function to handle both tool calls and text responses
- Improved error handling and logging for AI responses
- Removed dependency on safeParseJson for more direct response processing
- Added better type safety for AI response handling

* fix: remove duplicate console logs