You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: expose extra_body parameter on all modalities (#126)
* feat: expose extra_body parameter on all modalities
Add extra_body parameter to all public methods across images, audio,
videos, and embeddings modalities. This allows users to pass
provider-specific request fields (e.g., Google's generationConfig,
imageConfig) without resorting to private methods.
Updated methods:
- images: generate, edit (stream, sync, sync.stream)
- audio: speak (stream, sync, sync.stream)
- videos: generate (sync)
- embeddings: embed (async, sync)
Also updated the modality client template for future modalities.
Fixes#124https://claude.ai/code/session_01KYduqFZTvWMNMBW9b1nLXF
* style: format with ruff
https://claude.ai/code/session_01KYduqFZTvWMNMBW9b1nLXF
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments