1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-04 22:53:54 +01:00
Files
core/tests/components
SLaks 580c6f2684 Allow arbitrary Gemini attachments (#138751)
* Gemini: Allow arbitrary attachments

This lets me use Gemini to extract information from PDFs, HTML, or other files.

* Gemini: Only add deprecation warning when deprecated parameter has a value

* Gemini: Use Files.upload() for both images and other files

This simplifies the code.

Within the Google client, this takes a different codepath (it uploads images as a file instead of re-saving them into inline bytes).  I think that's a feature (it's probably more efficient?).

* Gemini: Deduplicate filenames
2025-02-23 16:11:38 -08:00
..
2025-02-11 17:25:57 +01:00
2025-02-17 10:01:27 +01:00
2025-02-04 12:16:24 +01:00
2025-02-04 22:36:47 +00:00
2025-02-10 08:19:42 +01:00
2025-02-20 06:13:13 +01:00
2025-02-21 18:14:52 +01:00
2025-02-04 11:20:05 -06:00
2025-02-16 21:33:48 -06:00