mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
🐛 fix(mcp): use customParams for environment settings fallback (#8814)
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ class MCPService {
|
||||
|
||||
const data = {
|
||||
args,
|
||||
env: plugin.settings,
|
||||
env: plugin.settings || plugin.customParams?.mcp?.env,
|
||||
params: { ...plugin.customParams?.mcp, name: identifier } as any,
|
||||
toolName: apiName,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user