Refactor: Remove GEMINI.md memory and refactor system prompt

- Updates CONTRIBUTING.md and Tips.tsx to remove references to GEMINI.md and the /init command, and renumbers tips.
- Fixes a typo in Tips.tsx ("information.s" -> "information.").
- Refactors the core system prompt in prompts.ts from a constant string to a function .
- Updates client.ts to call the  function.
- Updates tool name references within the system prompt to use template literals for dynamic naming.

Fixes bug: https://buganizer.corp.google.com/issues/413061073
---

Generated by yours truly __Gemini Code__
This commit is contained in:
Taylor Mullen
2025-04-23 15:17:23 -07:00
committed by N. Taylor Mullen
parent 94c04955c8
commit 095163bbed
4 changed files with 37 additions and 47 deletions

View File

@@ -19,15 +19,8 @@ export const Tips: React.FC = () => (
for more information.
</Text>
<Text color={Colors.Foreground}>
2.{' '}
<Text bold color={Colors.AccentPurple}>
/init
</Text>{' '}
to create a GEMINI.md for instructions & context.
2. Ask coding questions, edit code or run commands.
</Text>
<Text color={Colors.Foreground}>
3. Ask coding questions, edit code or run commands.
</Text>
<Text color={Colors.Foreground}>4. Be specific for the best results.</Text>
<Text color={Colors.Foreground}>3. Be specific for the best results.</Text>
</Box>
);