#606·adk-go

在应用程序的主文件中使用任何自定义标志会导致启动程序无法解析其标志

作者: ahmedtd创建于 2026年3月1日更新于 2026年9月12日
标签bug

Defining any custom command-line flags with the `flag` package causes the default launchers provided by ADK to fail to parse their flags. For example, in my demo agent, I want to use command-line flags to control the setup and configuration of the agent [1]. I include a flag: