Skip to content

Conversation

@canvrno-oai
Copy link

@canvrno-oai canvrno-oai commented Feb 2, 2026

This PR adds folder mentions to the TUI mention flow (@...), alongside existing file mentions. Users can now mention directories in the same picker used for files. Directory mentions are rendered naturally in the composer (e.g., docs/) and expanded into an unambiguous absolute path hint at send time.

How to test

  • Type @ in the composer.
  • Search/select either:
    • a file (existing behavior), or
    • a folder (new behavior).
  • Folder appears in composer as folder_name/.
  • On submit, model input includes a normalized absolute path hint for that folder.
image

@etraut-openai etraut-openai added the oai PRs contributed by OpenAI employees label Feb 2, 2026
@canvrno-oai canvrno-oai force-pushed the canvrno/folder_mentions_tui branch from 51a3570 to 1d68d7d Compare February 2, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants