randmarcomps 1.338.0 → 1.341.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,18 +126,21 @@ declare interface AssistantChatProps {
126
126
  }
127
127
 
128
128
  /**
129
- * A reusable component that displays an animated AI icon and thinking text
130
- * while fetching a text-based insight, then animates the response in.
131
- * It caches responses and prevents concurrent requests for the same prompt.
129
+ * A component that displays an animated AI icon and placeholder text while
130
+ * fetching an insight from the Gemini API. It leverages the useGemini hook
131
+ * to manage the entire data fetching and state management lifecycle.
132
132
  */
133
133
  export declare function AssistantInsight({ prompt, smartAndSlow, thinkingPlaceholderText, }: AssistantInsightProps): JSX.Element;
134
134
 
135
135
  /**
136
- * Props for the AssistantInsight component.
136
+ * Defines the props for the AssistantInsight component.
137
137
  */
138
138
  declare interface AssistantInsightProps {
139
+ /** The prompt to send to the AI for generating the insight. */
139
140
  prompt: string;
141
+ /** If true, uses a more powerful (and slower) model for the request. */
140
142
  smartAndSlow?: boolean;
143
+ /** Optional placeholder text to display while the AI is generating a response. */
141
144
  thinkingPlaceholderText?: string;
142
145
  }
143
146