-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: Seluj78/celeste-python
base: ddc68e6
head repository: withceleste/celeste-python
compare: 4902f3e
- 4 commits
- 33 files changed
- 2 contributors
Commits on Jan 29, 2026
-
Fix Gemini response modalities to include TEXT and IMAGE (withceleste…
…#125) * fix(images): use TEXT+IMAGE responseModalities for Gemini models The Gemini API's documented default is responseModalities: ["TEXT", "IMAGE"]. The previous hardcoded ["Image"] worked for gemini-2.5-flash-image but fails for gemini-3-pro-image-preview (a thinking model that requires both modalities). This aligns with Google's API documentation and ensures compatibility with both current and future Gemini image models. Fixes withceleste#123 https://claude.ai/code/session_01KYduqFZTvWMNMBW9b1nLXF * chore: bump version to 0.9.4 https://claude.ai/code/session_01KYduqFZTvWMNMBW9b1nLXF --------- Co-authored-by: Claude <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 6d7f9d7 - Browse repository at this point
Copy the full SHA 6d7f9d7View commit details -
feat: expose extra_body parameter on all modalities (withceleste#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 withceleste#124 https://claude.ai/code/session_01KYduqFZTvWMNMBW9b1nLXF * style: format with ruff https://claude.ai/code/session_01KYduqFZTvWMNMBW9b1nLXF --------- Co-authored-by: Claude <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 4381e8a - Browse repository at this point
Copy the full SHA 4381e8aView commit details -
feat(xai): add Grok Imagine for image and video generation (withceles…
…te#128) * feat(xai): add grok-imagine-image and grok-imagine-video models Add xAI Grok Imagine support for image and video generation: Images (grok-imagine-image): - Generate and edit operations - Parameters: aspect_ratio, num_images, output_format - Aspect ratios: 1:1, 3:4, 4:3, 9:16, 16:9, 2:3, 3:2, and more Videos (grok-imagine-video): - Generate and edit operations - Async polling pattern (HTTP 200=ready, 202=processing) - Parameters: duration (1-15s), aspect_ratio, resolution Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(xai): serialize image artifacts and validate video URLs - Image edit: serialize ImageArtifact to URL or base64 string instead of passing object directly (xAI API expects string) - Video edit: validate video has URL before using, raise clear error if not (xAI only supports URL, not base64/path) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(xai): remove client-side video URL validation Let the xAI API handle validation for video edit requests. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 0ca70d0 - Browse repository at this point
Copy the full SHA 0ca70d0View commit details -
fix(xai): use ImageUrl struct format for image edits (withceleste#129)
xAI API expects {"image": {"url": "..."}} not a raw string. Supports both URL and data URI (for base64 images). Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>Configuration menu - View commit details
-
Copy full SHA for 4902f3e - Browse repository at this point
Copy the full SHA 4902f3eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ddc68e6...4902f3e