Open
Conversation
…nd tools - Introduced the Virtual Try-On MCP, allowing users to generate images by combining person photos with garment images. - Added configuration options for direct generator URLs and Deco Mesh connection bindings. - Implemented input validation and tool execution logic for the virtual try-on functionality. - Updated package.json and bun.lock to include the new MCP and its dependencies. - Created README and TypeScript configuration files for the new MCP.
🚀 Preview Deployments Ready!Your changes have been deployed to preview environments: 📦
|
Contributor
There was a problem hiding this comment.
1 issue found across 9 files
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="virtual-try-on/server/main.ts">
<violation number="1" location="virtual-try-on/server/main.ts:56">
P0: The default model `gemini-2.5-flash-image-preview` is deprecated and scheduled for shutdown on Jan 15, 2026. Since the current date is Feb 2026, this default model will fail. Use the stable release `gemini-2.5-flash-image` instead.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| ), | ||
| defaultModel: z | ||
| .string() | ||
| .default("gemini-2.5-flash-image-preview") |
Contributor
There was a problem hiding this comment.
P0: The default model gemini-2.5-flash-image-preview is deprecated and scheduled for shutdown on Jan 15, 2026. Since the current date is Feb 2026, this default model will fail. Use the stable release gemini-2.5-flash-image instead.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At virtual-try-on/server/main.ts, line 56:
<comment>The default model `gemini-2.5-flash-image-preview` is deprecated and scheduled for shutdown on Jan 15, 2026. Since the current date is Feb 2026, this default model will fail. Use the stable release `gemini-2.5-flash-image` instead.</comment>
<file context>
@@ -0,0 +1,75 @@
+ ),
+ defaultModel: z
+ .string()
+ .default("gemini-2.5-flash-image-preview")
+ .describe(
+ "Default model to send to the generator (used when the generator tool requires a model field).",
</file context>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Adds a new Virtual Try-On MCP that combines a person photo with garment images and delegates image generation to a configured generator MCP. Provides a single VIRTUAL_TRY_ON tool with simple configuration options.
New Features
Refactors
Written for commit 006616f. Summary will update on new commits.