Allow more file types in chat

Created on 11 June 2025, 17 days ago

Problem/Motivation

Openai and Gemini (and probably soon others) accept pdf files as well in chat.

Steps to reproduce

Attach a pdf file to a chat

Proposed resolution

Add a new $files property that supersedes images and let the providers determine whether they support it and how based on the mime type.

Remaining tasks

agree
PR
party

User interface changes

none

API changes

New files that allow more than just images in chat.

Data model changes

$images are replaced by $files.

Feature request
Status

Active

Version

1.2

Component

Code

Created by

🇨🇭Switzerland bircher 🇨🇿

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024