Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

excluded advance option for 'Nano Banana models'

Forhad Hosain3e50487023bf
diff --git a/packages/app/src/builder-ui/components/ImageGenerator.class.ts b/packages/app/src/builder-ui/components/ImageGenerator.class.ts
index c0f3da1e..d39d4f9a 100644
--- a/packages/app/src/builder-ui/components/ImageGenerator.class.ts
+++ b/packages/app/src/builder-ui/components/ImageGenerator.class.ts
@@ -381,7 +381,10 @@ function getGoogleAISettings(savedData: Record<string, any>) {
{ text: 'Tall (4:3)', value: '4:3' },
],
section: 'Advanced',
- attributes: { 'data-supported-models': LLM_PROVIDERS.GOOGLEAI },
+ attributes: {
+ 'data-supported-models': LLM_PROVIDERS.GOOGLEAI,
+ 'data-excluded-models': 'gemini-2.5-flash-image',
+ },
},
personGeneration: {
type: 'select',
@@ -397,7 +400,10 @@ function getGoogleAISettings(savedData: Record<string, any>) {
{ text: 'Allow All', value: 'allow_all' },
],
section: 'Advanced',
- attributes: { 'data-supported-models': LLM_PROVIDERS.GOOGLEAI },
+ attributes: {
+ 'data-supported-models': LLM_PROVIDERS.GOOGLEAI,
+ 'data-excluded-models': 'gemini-2.5-flash-image',
+ },
},
};
}