Default title is automatically assigned when no title is provided during file upload

Description:

During file upload in the Corpus app, when users upload documents, text, etc., there is no option to provide a title (especially via CLI).

If the user does not explicitly provide a title, the system automatically assigns a default title such as "upload: image" or similar.

This behavior results in incorrect or irrelevant titles being assigned to uploaded files. Users may expect the title field to remain empty or be prompted to enter one.


Steps to Reproduce:

  1. Open Corpus CLI / App
  2. Upload any document, text, or file
  3. Do not provide any title input (since no option exists)
  4. Observe the assigned title after upload

Actual Behavior:

  • A default title (e.g., "upload: image") is automatically assigned

  • Same or irrelevant titles may be applied to files

  • No option to customize or skip title input

  • Screenshot from 2026-03-27 17-30-57.png

    Screenshot from 2026-03-27 17-31-12.png


Expected Behavior:

  • If no title is provided:
    • The title field should remain empty OR
    • The user should be prompted to enter a title
  • CLI should provide an option to input a title
  • Each file should allow a unique title

Impact:

  • Incorrect or misleading file metadata
  • Poor data organization
  • Confusing user experience
  • Difficulty in identifying uploaded files

Additional Notes:

  • This issue is more noticeable during bulk uploads
  • Similar behavior observed across different file types (documents, text, etc.)