-
Notifications
You must be signed in to change notification settings - Fork 1
Add edit, audio, and moderation APIs to client abstraction #5
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
top_p: float = ..., | ||
**kwargs, | ||
): | ||
self._populate_args( |
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.
It is a bit of an annoying pattern to have to do this dance. But any "magic" (e.g. decorator) would not be significantly simpler. It might be possible to inspect the decorated function and use annotations to avoid the duplication of signatures across, but that does feel pri3:ish.
Co-authored-by: Johan Stenberg (MSFT) <[email protected]>
Co-authored-by: Johan Stenberg (MSFT) <[email protected]>
Co-authored-by: Johan Stenberg (MSFT) <[email protected]>
Co-authored-by: Johan Stenberg (MSFT) <[email protected]>
No description provided.