Create GenericFile.php

Created on 6 November 2025, about 10 hours ago

Problem/Motivation

This is tagged novice, if you are not a novice or have extensively contributed to the project, please do not work on this issue

Currently we have ImageFile, VideoFile, AudioFile and DocumentFile that maps fairly well to the kind of files that different operation types and providers can take and also the typical media types in Drupal.

However agents might have tools that works for other type of files or there might be an unknown type of file that is not covered by any of the files above. We should create a GenericFile.

Proposed resolution

Check in the src/OperationType/GenericType for the current file type.
Add a file type called GenericFile in GenericFile.php that extends the AbstractFileBase.php

Feature request
Status

Active

Version

2.0

Component

AI Core module

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024