Add file support to agent chat (#13187)

https://github.com/user-attachments/assets/911d5d8d-cc2e-4c18-9f93-2663d84ff9ef

---------

Co-authored-by: Raphaël Bosi <71827178+bosiraphael@users.noreply.github.com>
Co-authored-by: neo773 <62795688+neo773@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
Co-authored-by: Félix Malfait <felix@twenty.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@twenty.com>
Co-authored-by: MD Readul Islam <99027968+readul-islam@users.noreply.github.com>
Co-authored-by: readul-islam <developer.readul@gamil.com>
Co-authored-by: Thomas des Francs <tdesfrancs@gmail.com>
Co-authored-by: Guillim <guillim@users.noreply.github.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Abdul Rahman
2025-07-15 12:27:10 +05:30
committed by GitHub
parent bba1b296c1
commit 72fd3b07e7
48 changed files with 1387 additions and 136 deletions

View File

@ -776,8 +776,20 @@ export type FieldPermissionInput = {
objectMetadataId: Scalars['String'];
};
export type File = {
__typename?: 'File';
createdAt: Scalars['DateTime'];
fullPath: Scalars['String'];
id: Scalars['ID'];
messageId?: Maybe<Scalars['ID']>;
name: Scalars['String'];
size: Scalars['Float'];
type: Scalars['String'];
};
export enum FileFolder {
Attachment = 'Attachment',
File = 'File',
PersonPicture = 'PersonPicture',
ProfilePicture = 'ProfilePicture',
ServerlessFunction = 'ServerlessFunction',
@ -1015,6 +1027,7 @@ export type Mutation = {
createApprovedAccessDomain: ApprovedAccessDomain;
createDatabaseConfigVariable: Scalars['Boolean'];
createDraftFromWorkflowVersion: WorkflowVersion;
createFile: File;
createOIDCIdentityProvider: SetupSsoOutput;
createObjectEvent: Analytics;
createOneAppToken: AppToken;
@ -1029,6 +1042,7 @@ export type Mutation = {
deleteApprovedAccessDomain: Scalars['Boolean'];
deleteCurrentWorkspace: Workspace;
deleteDatabaseConfigVariable: Scalars['Boolean'];
deleteFile: File;
deleteOneField: Field;
deleteOneObject: Object;
deleteOneRole: Scalars['String'];
@ -1154,6 +1168,11 @@ export type MutationCreateDraftFromWorkflowVersionArgs = {
};
export type MutationCreateFileArgs = {
file: Scalars['Upload'];
};
export type MutationCreateOidcIdentityProviderArgs = {
input: SetupOidcSsoInput;
};
@ -1212,6 +1231,11 @@ export type MutationDeleteDatabaseConfigVariableArgs = {
};
export type MutationDeleteFileArgs = {
fileId: Scalars['String'];
};
export type MutationDeleteOneFieldArgs = {
input: DeleteOneFieldInput;
};