-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix agent
mypy
error
#206
Fix agent
mypy
error
#206
Conversation
@Obs01ete This PR also fix all the mypy error with nested agents. WDYT? |
Yeah, this fixes inheritance inconsistencies, that's fine, formally. However it kinda makes no sense architecturally. If you were to apply dependency inversion and cast CriticAgent to ChatAgent or to BaseAgent to abstract away the concrete inplementation, |
Secondly, what do you think about this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good middle ground to resolve the inheritance inconsistencies.
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply: