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(web): reuse active session for chat skill dropdown skills.list

huben4682629d4978
diff --git a/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/InputArea.tsx b/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/InputArea.tsx
index d73403e03a..382bb57f34 100644
--- a/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/InputArea.tsx
+++ b/jiuwenswarm/channels/web/frontend/src/components/ChatPanel/InputArea.tsx
@@ -3104,7 +3104,7 @@ function SkillSelector({ onNavigateToSkills, onInsertSkill, onRemoveSkill }: {
plugins?: InputAreaInstalledPlugin[];
}>(
'skills.list',
- { with_installed: true },
+ { session_id: activeSessionId, with_installed: true },
{ timeoutMs: 30_000 },
);
setSkills(data.skills || []);