Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix: refine project filtering to exclude project_dir search

zhengkailan54a2e3e29fce
diff --git a/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/projectSelection.ts b/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/projectSelection.ts
index cdcaa0d299..0974bd080c 100644
--- a/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/projectSelection.ts
+++ b/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/projectSelection.ts
@@ -9,9 +9,6 @@ export function getInputProjectOptions(projects: ProjectInfo[], search = ''): Pr
return projects.filter((project) => {
if (isDefaultInputProject(project)) return false;
if (!keyword) return true;
- return (
- project.name.toLowerCase().includes(keyword)
- || project.project_dir.toLowerCase().includes(keyword)
- );
+ return project.name.toLowerCase().includes(keyword);
});
}