@mindstudio-ai/agent 0.1.154 → 0.1.155

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.
package/dist/index.d.ts CHANGED
@@ -5288,7 +5288,7 @@ interface AnalyzeImageStepInput {
5288
5288
  imageUrl?: string;
5289
5289
  /** One or more image URLs to analyze together in a single model request */
5290
5290
  imageUrls?: string[];
5291
- /** Optional model configuration override. Uses the workflow's default vision model if not specified */
5291
+ /** Optional model configuration override: a chat model that reads images. Uses the workflow's default image analysis model if not specified */
5292
5292
  visionModelOverride?: {
5293
5293
  model: string;
5294
5294
  config?: Record<string, unknown>;
@@ -9496,13 +9496,12 @@ interface StepMethods {
9496
9496
  */
9497
9497
  airtableGetTableRecords(step: AirtableGetTableRecordsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<AirtableGetTableRecordsStepOutput>>;
9498
9498
  /**
9499
- * Analyze an image using a vision model based on a text prompt.
9499
+ * Analyze one or more images with a chat model that reads images, based on a text prompt.
9500
9500
  *
9501
9501
  * @remarks
9502
- * - Uses the configured vision model to generate a text analysis of the image.
9502
+ * - Runs on any chat model that reads images; the default is gemini-3.8-flash. `visionModelOverride` takes the same settings as a chat model's override (`model`, `temperature`, `maxResponseTokens`).
9503
9503
  * - The prompt should describe what to look for or extract from the image.
9504
- * - Pass imageUrl for a single image, or imageUrls for multiple images analyzed together in one request.
9505
- * - Most vision models (OpenAI, Grok, Gemini) accept multiple images in one request. Ideogram describe is single-image only.
9504
+ * - Pass imageUrls for one or more images analyzed together in one request (imageUrl, a single image, still works).
9506
9505
  *
9507
9506
  * @example
9508
9507
  * ```typescript
package/dist/index.js CHANGED
@@ -4161,8 +4161,8 @@ var stepMetadata = {
4161
4161
  },
4162
4162
  "analyzeImage": {
4163
4163
  stepType: "analyzeImage",
4164
- description: "Analyze an image using a vision model based on a text prompt.",
4165
- usageNotes: "- Uses the configured vision model to generate a text analysis of the image.\n- The prompt should describe what to look for or extract from the image.\n- Pass imageUrl for a single image, or imageUrls for multiple images analyzed together in one request.\n- Most vision models (OpenAI, Grok, Gemini) accept multiple images in one request. Ideogram describe is single-image only.",
4164
+ description: "Analyze one or more images with a chat model that reads images, based on a text prompt.",
4165
+ usageNotes: "- Runs on any chat model that reads images; the default is gemini-3.8-flash. `visionModelOverride` takes the same settings as a chat model's override (`model`, `temperature`, `maxResponseTokens`).\n- The prompt should describe what to look for or extract from the image.\n- Pass imageUrls for one or more images analyzed together in one request (imageUrl, a single image, still works).",
4166
4166
  inputSchema: { "type": "object", "properties": { "prompt": { "type": "string", "description": "Instructions describing what to look for or extract from the image" }, "imageUrl": { "type": "string", "description": "URL of a single image to analyze. Kept for backward compatibility; prefer imageUrls." }, "imageUrls": { "type": "array", "items": { "type": "string" }, "description": "One or more image URLs to analyze together in a single model request" }, "visionModelOverride": { "anyOf": [{ "type": "object", "properties": { "model": { "type": "string" }, "config": { "type": "object", "properties": {}, "required": [] } }, "required": ["model"] }, { "type": "object", "properties": { "model": { "type": "string", "description": 'Model identifier (e.g. "gpt-4", "claude-3-opus")' }, "temperature": { "type": "number", "description": "Sampling temperature for the model (0-2)" }, "maxResponseTokens": { "type": "number", "description": "Maximum number of tokens in the model's response" }, "ignorePreamble": { "type": "boolean", "description": "Whether to skip the system preamble/instructions" }, "userMessagePreprocessor": { "type": "object", "properties": { "dataSource": { "type": "string", "description": "Data source identifier for the preprocessor" }, "messageTemplate": { "type": "string", "description": "Template string applied to user messages before sending to the model" }, "maxResults": { "type": "number", "description": "Maximum number of results to include from the data source" }, "enabled": { "type": "boolean", "description": "Whether the preprocessor is active" }, "shouldInherit": { "type": "boolean", "description": "Whether child steps should inherit this preprocessor configuration" } }, "description": "Preprocessor applied to user messages before sending to the model" }, "preamble": { "type": "string", "description": "System preamble/instructions for the model" }, "multiModelEnabled": { "type": "boolean", "description": "Whether multi-model candidate generation is enabled" }, "editResponseEnabled": { "type": "boolean", "description": "Whether the user can edit the model's response" }, "promptCaching": { "type": "boolean", "description": "Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes." }, "config": { "type": "object", "properties": {}, "required": [], "description": "Additional model-specific configuration" } }, "required": ["model", "temperature", "maxResponseTokens"] }] } }, "required": ["prompt"] },
4167
4167
  outputSchema: { "type": "object", "properties": { "analysis": { "type": "string", "description": "Text analysis of the image generated by the vision model" } }, "required": ["analysis"] }
4168
4168
  },