mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 18:44:30 -07:00
Refactor PolicyEngine to Core Package (#12325)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -633,15 +633,6 @@ export async function discoverTools(
|
||||
messageBus,
|
||||
);
|
||||
|
||||
if (
|
||||
cliConfig.getDebugMode?.() &&
|
||||
cliConfig.getEnableMessageBusIntegration?.()
|
||||
) {
|
||||
debugLogger.log(
|
||||
`[DEBUG] Discovered MCP tool '${funcDecl.name}' from server '${mcpServerName}' with messageBus: ${messageBus ? 'YES' : 'NO'}`,
|
||||
);
|
||||
}
|
||||
|
||||
discoveredTools.push(tool);
|
||||
} catch (error) {
|
||||
coreEvents.emitFeedback(
|
||||
|
||||
Reference in New Issue
Block a user