Skip to content

1.21.4

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Aug 01:25

Added

  • Gemini can now read PDF files in your vault. Mention a PDF the way you mention a note, or just ask about one by name, and Gemini opens the document itself — layout, tables, figures and scanned pages included, not a flattened text dump.
  • read_note accepts PDFs, so Gemini can pull one up on its own mid-conversation.
  • PDFs show up in the @ mention list, in list_notes, and in filename search, so Gemini can find one without being given the exact path. Content search still covers text files only.
  • PDF names resolve with the same fuzzy matching as notes: a partial name or a bare filename finds the file, and the shortest matching path wins when several PDFs share a name.

Changed

  • Mentioned files are no longer pasted into the prompt when vault tools are enabled. Gemini fetches them with read_note instead, so a long note or a PDF costs nothing on the turns that do not need it, and is never carried along for the rest of the conversation. Files outside Folders AI can access automatically are still inlined, so mentioning them keeps working.
  • Inlined mention content now respects the Max note characters setting and is truncated with a marker when it exceeds the limit.

Notes

  • PDFs are read-only. They are never reachable by the editing, renaming, or deleting tools, and the safe-edit flow is unchanged.
  • A PDF larger than 15 MB is too big to send whole, so Gemini falls back to its extracted text. If that PDF is also a scan with no text layer, read_note says so instead of guessing.