Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Add GEMINI.md as a supported rules file name (#33381)

Umesh Yadavcc62125244e3
diff --git a/crates/agent/src/thread_store.rs b/crates/agent/src/thread_store.rs
index 3c9150ff75f..516151e9ff9 100644
--- a/crates/agent/src/thread_store.rs
+++ b/crates/agent/src/thread_store.rs
@@ -71,7 +71,7 @@ impl Column for DataType {
}
}
-const RULES_FILE_NAMES: [&'static str; 8] = [
+const RULES_FILE_NAMES: [&'static str; 9] = [
".rules",
".cursorrules",
".windsurfrules",
@@ -80,6 +80,7 @@ const RULES_FILE_NAMES: [&'static str; 8] = [
"CLAUDE.md",
"AGENT.md",
"AGENTS.md",
+ "GEMINI.md",
];
pub fn init(cx: &mut App) {
diff --git a/docs/src/ai/rules.md b/docs/src/ai/rules.md
index 81b8480bd96..ed916874cad 100644
--- a/docs/src/ai/rules.md
+++ b/docs/src/ai/rules.md
@@ -16,6 +16,7 @@ Other names for this file are also supported for compatibility with other agents
- `AGENT.md`
- `AGENTS.md`
- `CLAUDE.md`
+- `GEMINI.md`
## Rules Library {#rules-library}