Restructure agent chat messages with parts-based architecture (#14749)
Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
+2
-4
@@ -1,3 +1,5 @@
|
||||
import { type DeepPartial } from 'typeorm';
|
||||
|
||||
import {
|
||||
type ForeignDataWrapperOptions,
|
||||
type RemoteServerEntity,
|
||||
@@ -9,10 +11,6 @@ import {
|
||||
} from 'src/engine/metadata-modules/remote-server/remote-server.exception';
|
||||
import { type UserMappingOptions } from 'src/engine/metadata-modules/remote-server/types/user-mapping-options';
|
||||
|
||||
export type DeepPartial<T> = {
|
||||
[P in keyof T]?: DeepPartial<T[P]>;
|
||||
};
|
||||
|
||||
export const buildUpdateRemoteServerRawQuery = (
|
||||
remoteServerToUpdate: DeepPartial<RemoteServerEntity<RemoteServerType>> &
|
||||
Pick<RemoteServerEntity<RemoteServerType>, 'workspaceId' | 'id'>,
|
||||
|
||||
Reference in New Issue
Block a user