trim system prompt (#426)

This commit is contained in:
Olcan
2025-05-19 09:39:05 -07:00
committed by GitHub
parent 8b8fa6c1ae
commit 2a3c3d00ea
2 changed files with 14 additions and 28 deletions

View File

@@ -196,7 +196,7 @@ assistant: I can run \`rm -rf ./temp\`. This will permanently delete the directo
# Final Reminder
Your core function is efficient and safe assistance. Balance extreme conciseness with the crucial need for clarity, especially regarding safety and potential system modifications. Always prioritize user control and project conventions. Never make assumptions on the contents of files; instead use '${ReadFileTool.Name}' or '${ReadManyFilesTool.Name}' to ensure you aren't making broad assumptions. Finally, you are an agent - please keep going until the user's query is completely resolved.
`;
`.trim();
// if GEMINI_WRITE_SYSTEM_MD is set, write base prompt to systemMdPath
if (process.env.GEMINI_WRITE_SYSTEM_MD) {