Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

475 B
Raw Blame
export interface CreateImageState {
  /**
   * Prompt the last submit was rejected for by content moderation. The prompt
   * input shows an inline notice while its value still equals this prompt, so
   * editing the prompt dismisses it.
   */
  blockedPrompt?: string;
  isCreating: boolean;
  isCreatingWithNewTopic: boolean;
}

export const initialCreateImageState: CreateImageState = {
  blockedPrompt: undefined,
  isCreating: false,
  isCreatingWithNewTopic: false,
};