AI tools to create a demo workspace (#18236)
This PR adds the necessary tool to create a demo workspace with : relevant custom objects and fields, mock data and a real dashboard with graph widgets. It is still a bit under-optimized and slow but it works. This PR also adds an AI tool that allows to see what happens in real time, it navigates the app and waits when necessary. --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { type ExtendedUIMessage } from 'twenty-shared/ai';
|
||||
|
||||
export const isUIToolCallMessage = (message: ExtendedUIMessage) => {
|
||||
return message.parts.some(
|
||||
(part) =>
|
||||
part.type === 'tool-execute_tool' &&
|
||||
(part.input as any)?.toolName === 'navigate_app',
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user