Skip to content

V2#12

Closed
PierrunoYT wants to merge 7 commits intoatiilla:mainfrom
PierrunoYT:v2
Closed

V2#12
PierrunoYT wants to merge 7 commits intoatiilla:mainfrom
PierrunoYT:v2

Conversation

@PierrunoYT
Copy link
Copy Markdown

No description provided.

PierrunoYT and others added 7 commits February 27, 2026 18:56
Add get_mime_type() to ImageProcessor using mimetypes.guess_type() with
a fallback to image/jpeg. Pass the detected MIME type to the Gemini API.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Remove locate_with_gemini() wrapper method (duplicate of locate())
- Remove unused ImageProcessingError exception class and export
- Remove unused MAX_LOCATIONS constant from config.py
- Remove hardcoded _VALID_MIME_TYPES set; derive from SUPPORTED_IMAGE_FORMATS
- Inline single-use private methods in GeminiClient.generate_content()

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
gemini-3-flash requires the v1beta endpoint (v1 returns 404).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@PierrunoYT PierrunoYT closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant