mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-31 19:15:17 +02:00
Fix build errors
This commit is contained in:
parent
5bc1dc8b37
commit
9c712250fb
2 changed files with 5 additions and 1 deletions
|
|
@ -195,6 +195,8 @@ const App = forwardRef<{ handleCopyChat: () => void; handleUserMessage: (message
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
App.displayName = 'App';
|
||||||
|
|
||||||
export const Copilot = forwardRef<{ handleUserMessage: (message: string) => void }, {
|
export const Copilot = forwardRef<{ handleUserMessage: (message: string) => void }, {
|
||||||
projectId: string;
|
projectId: string;
|
||||||
workflow: z.infer<typeof Workflow>;
|
workflow: z.infer<typeof Workflow>;
|
||||||
|
|
@ -301,3 +303,5 @@ export const Copilot = forwardRef<{ handleUserMessage: (message: string) => void
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Copilot.displayName = 'Copilot';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ export function AgentConfig({
|
||||||
setShowRagCta(false);
|
setShowRagCta(false);
|
||||||
}
|
}
|
||||||
setPreviousRagSources(currentSources);
|
setPreviousRagSources(currentSources);
|
||||||
}, [agent.ragDataSources]);
|
}, [agent.ragDataSources, previousRagSources.length]);
|
||||||
|
|
||||||
const handleUpdateInstructions = async () => {
|
const handleUpdateInstructions = async () => {
|
||||||
const message = `Update the instructions for agent "${agent.name}" to use the rag tool (rag_search) since data sources have been added. If this has already been done, do not take any action, but let me know.`;
|
const message = `Update the instructions for agent "${agent.name}" to use the rag tool (rag_search) since data sources have been added. If this has already been done, do not take any action, but let me know.`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue