-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix: Do not set fnc_ctx to None for anthropic at max depth #1441
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
Conversation
jayeshp19
commented
Feb 3, 2025
- Added an additional field in LLM capabilities class to check if model providers support function call history within chat context without needing function definitions.
|
| Generic[TEvent], | ||
| ): | ||
| def __init__(self) -> None: | ||
| def __init__(self, *, capabilities: LLMCapabilities) -> None: |
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.
we should default this to None, and init if none
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.
Nice, we should correct this for TTS and STT as well.
davidzhao
left a comment
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.
lg!