feat: unify creation entry templates
This commit is contained in:
@@ -26,6 +26,7 @@ type BigFishAgentWorkspaceProps = {
|
||||
onBack: () => void;
|
||||
onSubmitMessage: (payload: SendBigFishMessageRequest) => void;
|
||||
onExecuteAction: (payload: ExecuteBigFishActionRequest) => void;
|
||||
showBackButton?: boolean;
|
||||
};
|
||||
|
||||
const BIG_FISH_AGENT_THEME: CreationAgentTheme = {
|
||||
@@ -87,6 +88,7 @@ export function BigFishAgentWorkspace({
|
||||
onBack,
|
||||
onSubmitMessage,
|
||||
onExecuteAction,
|
||||
showBackButton = true,
|
||||
}: BigFishAgentWorkspaceProps) {
|
||||
return (
|
||||
<CreationAgentWorkspace
|
||||
@@ -100,6 +102,7 @@ export function BigFishAgentWorkspace({
|
||||
isBusy={isBusy}
|
||||
error={error}
|
||||
quickActions={createCreationAgentChatQuickActions()}
|
||||
showBackButton={showBackButton}
|
||||
onBack={onBack}
|
||||
onSubmitText={(text) => {
|
||||
onSubmitMessage(
|
||||
|
||||
Reference in New Issue
Block a user