This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.adk.agents import Agent | |
from google.adk.events import Event | |
from google.adk.agents.invocation_context import InvocationContext | |
from google.genai.types import Content, Part | |
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset | |
from google.adk.tools.mcp_tool import StdioConnectionParams, StreamableHTTPConnectionParams, SseConnectionParams | |
from google.adk.tools.agent_tool import AgentTool | |
from pydantic import BaseModel, Field | |
from mcp import StdioServerParameters |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add an option to use the existing Xorg session with | |
chrome-remote-desktop. | |
The original idea of the patch: https://superuser.com/a/850359 | |
--- a/chrome-remote-desktop 2021-04-05 11:53:16.537908500 +0000 | |
+++ b/chrome-remote-desktop 2021-04-05 12:04:52.768536483 +0000 | |
@@ -107,6 +107,8 @@ | |
X_LOCK_FILE_TEMPLATE = "/tmp/.X%d-lock" | |
FIRST_X_DISPLAY_NUMBER = 20 |