summaryrefslogtreecommitdiff
path: root/packages/server/src/core/prompts.ts
diff options
context:
space:
mode:
authorOlcan <[email protected]>2025-05-19 09:39:05 -0700
committerGitHub <[email protected]>2025-05-19 09:39:05 -0700
commit2a3c3d00ea99f73a99bd188e0ff547d11727f3a5 (patch)
treeda20dfbbd115374c1f67c73f8cd3cf9a594a24be /packages/server/src/core/prompts.ts
parent8b8fa6c1ae8e7e95e68d1166bfe28ca6b242577b (diff)
trim system prompt (#426)
Diffstat (limited to 'packages/server/src/core/prompts.ts')
-rw-r--r--packages/server/src/core/prompts.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/core/prompts.ts b/packages/server/src/core/prompts.ts
index 4bf571a2..05200cea 100644
--- a/packages/server/src/core/prompts.ts
+++ b/packages/server/src/core/prompts.ts
@@ -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) {