mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -07:00
Move settings error throwing to loadSettings (#7605)
This commit is contained in:
committed by
GitHub
parent
d2ae869bb4
commit
e6e60861e5
@@ -20,8 +20,8 @@ const RESET_COLOR = '\u001b[0m';
|
||||
async function getMcpServersFromConfig(): Promise<
|
||||
Record<string, MCPServerConfig>
|
||||
> {
|
||||
const settings = loadSettings(process.cwd());
|
||||
const extensions = loadExtensions(process.cwd());
|
||||
const settings = loadSettings();
|
||||
const extensions = loadExtensions();
|
||||
const mcpServers = { ...(settings.merged.mcpServers || {}) };
|
||||
for (const extension of extensions) {
|
||||
Object.entries(extension.config.mcpServers || {}).forEach(
|
||||
|
||||
Reference in New Issue
Block a user