Refactor: Remove Parsing Logic from generation.ts #1659
Labels
agent-generated
For agent creation actions on pull requests, issues, and eventually milestones, releases etc.
enhancement
New feature or request
refactor
Refactor
Is your refactor related to a problem? Please describe.
The current implementation contains parsing logic in generation.ts which complicates the code and introduces potential bugs.
Describe the solution you'd like
Remove all parsing logic from generation.ts and utilize generateObject for obtaining type-safe values. This refactor includes deprecating functions such as parseShouldRespondText and others that are no longer necessary.
Code Example
Describe alternatives you've considered
Keeping the parsing logic as is, but this increases complexity and reduces type safety.
Additional context
This change will streamline the codebase, improve maintainability, and enhance type safety across the application.
Related Issues
The text was updated successfully, but these errors were encountered: