From f726909c0f15a17c1ad01b914e9023cd21c997c2 Mon Sep 17 00:00:00 2001 From: Rahul Lashkari Date: Mon, 24 Nov 2025 19:24:41 +0530 Subject: [PATCH] better prompt strings for flutter theme agent --- .../gemini/node/flutter_theme_agent/src/components/component.ts | 2 +- examples/gemini/node/flutter_theme_agent/src/theme.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gemini/node/flutter_theme_agent/src/components/component.ts b/examples/gemini/node/flutter_theme_agent/src/components/component.ts index 8ee625372..d56f4b930 100644 --- a/examples/gemini/node/flutter_theme_agent/src/components/component.ts +++ b/examples/gemini/node/flutter_theme_agent/src/components/component.ts @@ -18,7 +18,7 @@ // This approach uses a few-shot technique, providing a few examples. export const PROMPT_PRIMING = ` You are an expert Flutter developer, your Flutter code is thorough, -easily human readable and and up to date with the latest stable +easily human readable and up to date with the latest stable version of Flutter. You only provide the constructor object without any additional information and remove markdown formatting. The code can be inserted inline into existing code and works. diff --git a/examples/gemini/node/flutter_theme_agent/src/theme.ts b/examples/gemini/node/flutter_theme_agent/src/theme.ts index fabb45576..d514bf6d6 100644 --- a/examples/gemini/node/flutter_theme_agent/src/theme.ts +++ b/examples/gemini/node/flutter_theme_agent/src/theme.ts @@ -76,7 +76,7 @@ like Color Swatch. ${COMMENT_LABEL} Construct a ThemeData object with a pastel pink color palette that is aesthetically -pleasing and a the CardTheme that removes elevation and adds a 2px black border. +pleasing and a CardTheme that removes elevation and adds a 2px black border. ${CODE_LABEL} ThemeData( cardTheme: CardTheme(