René's URL Explorer Experiment


Title: fix(cli): use Optional[List[str]] in cleanup_unused_files to fix parser error by zaidwhy · Pull Request #6190 · google/adk-python · GitHub

Open Graph Title: fix(cli): use Optional[List[str]] in cleanup_unused_files to fix parser error by zaidwhy · Pull Request #6190 · google/adk-python

X Title: fix(cli): use Optional[List[str]] in cleanup_unused_files to fix parser error by zaidwhy · Pull Request #6190 · google/adk-python

Description: An open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control. - fix(cli): use Optional[List[str]] in cleanup_unused_files to fix parser error by zaidwhy · Pull Request #6190 · google/adk-python

Open Graph Description: Problem When the ADK web server runs and the LLM calls the cleanup_unused_files built-in tool, the automatic function calling system fails to parse its optional parameter type annotations on Python...

X Description: Problem When the ADK web server runs and the LLM calls the cleanup_unused_files built-in tool, the automatic function calling system fails to parse its optional parameter type annotations on Python...

Opengraph URL: https://github.com/google/adk-python/pull/6190

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:eb2fa863-e94f-fb5a-9d3d-1bd305ff8d65
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEDE6:2D40DE:3A72CCF:4A4B46E:6B023E68
html-safe-noncec9ca82955e28cfe7afb432b4182e9d86d7c0d9de134a16ccfb99783f82367fa5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREU2OjJENDBERTozQTcyQ0NGOjRBNEI0NkU6NkIwMjNFNjgiLCJ2aXNpdG9yX2lkIjoiNzM0MjI0NjA0ODg0NjQ2MjU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac64e030fc4f1f31a448cf020bd3b5dc01ece90895b4851c2748531de98c436209
hovercard-subject-tagpull_request:3914636734
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/google/adk-python/6190/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fde2e9a82d447ce2f0be0327e4e045fee47a21143ef9516ca2a36d3662d99366/google/adk-python/pull/6190
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fde2e9a82d447ce2f0be0327e4e045fee47a21143ef9516ca2a36d3662d99366/google/adk-python/pull/6190
og:image:altProblem When the ADK web server runs and the LLM calls the cleanup_unused_files built-in tool, the automatic function calling system fails to parse its optional parameter type annotations on Python...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezaidwhy
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/google/adk-python git https://github.com/google/adk-python.git
octolytics-dimension-user_id1342004
octolytics-dimension-user_logingoogle
octolytics-dimension-repository_id958830659
octolytics-dimension-repository_nwogoogle/adk-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958830659
octolytics-dimension-repository_network_root_nwogoogle/adk-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/google/adk-python/pull/6190#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fadk-python%2Fpull%2F6190
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fadk-python%2Fpull%2F6190
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=google%2Fadk-python
Reloadhttps://github.com/google/adk-python/pull/6190
Reloadhttps://github.com/google/adk-python/pull/6190
Reloadhttps://github.com/google/adk-python/pull/6190
googlehttps://github.com/google
adk-pythonhttps://github.com/google/adk-python
Codehttps://github.com/google/adk-python
Issues257 (257)https://github.com/google/adk-python/issues
Pull requests309 (309)https://github.com/google/adk-python/pulls
Discussionshttps://github.com/google/adk-python/discussions
Actionshttps://github.com/google/adk-python/actions
Projectshttps://github.com/google/adk-python/projects
Security and qualityhttps://github.com/google/adk-python/security
Insightshttps://github.com/google/adk-python/insights
https://github.com/google/adk-python
zaidwhyhttps://github.com/zaidwhy
google:mainhttps://github.com/google/adk-python/tree/main
zaidwhy:fix/cleanup-unused-files-optional-type-hintshttps://github.com/zaidwhy/adk-python/tree/fix/cleanup-unused-files-optional-type-hints
Conversationhttps://github.com/google/adk-python/pull/6190
Commits10 (10)https://github.com/google/adk-python/pull/6190/commits
Checkshttps://github.com/google/adk-python/pull/6190/checks
Files changedhttps://github.com/google/adk-python/pull/6190/files
fix(cli): use Optional[List[str]] in cleanup_unused_files to fix parser errorhttps://github.com/google/adk-python/pull/6190#top
zaidwhyhttps://github.com/zaidwhy
google:mainhttps://github.com/google/adk-python/tree/main
zaidwhy:fix/cleanup-unused-files-optional-type-hintshttps://github.com/zaidwhy/adk-python/tree/fix/cleanup-unused-files-optional-type-hints
https://github.com/zaidwhy
zaidwhyhttps://github.com/zaidwhy
Jun 22, 2026https://github.com/google/adk-python/pull/6190#issue-4719748811
Please reload this pagehttps://github.com/google/adk-python/pull/6190
#3591https://github.com/google/adk-python/issues/3591
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/zaidwhy
fix(cli): use Optional[List[str]] in cleanup_unused_files to fix pars…https://github.com/google/adk-python/pull/6190/commits/c332dd50135dbbfc7fc5ae73fadbb9d6b2e2b6bb
c332dd5https://github.com/google/adk-python/pull/6190/commits/c332dd50135dbbfc7fc5ae73fadbb9d6b2e2b6bb
google#3591https://github.com/google/adk-python/issues/3591
https://github.com/apps/google-cla
google-clahttps://github.com/apps/google-cla
Jun 22, 2026https://github.com/google/adk-python/pull/6190#issuecomment-4771953764
failed invocationhttps://github.com/google/adk-python/pull/6190/checks?check_run_id=82797093895
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/adk-bot
adk-bothttps://github.com/adk-bot
tools https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3Atools
Jun 24, 2026https://github.com/google/adk-python/pull/6190#event-27120773937
https://github.com/adk-bot
adk-bothttps://github.com/adk-bot
Jun 24, 2026https://github.com/google/adk-python/pull/6190#issuecomment-4784862570
contribution guidelineshttps://github.com/google/adk-python/blob/main/CONTRIBUTING.md
https://cla.developers.google.com/https://cla.developers.google.com/
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/rohityan
rohityanhttps://github.com/rohityan
Jun 24, 2026https://github.com/google/adk-python/pull/6190#event-27160851283
https://github.com/rohityan
rohityanhttps://github.com/rohityan
Jun 26, 2026https://github.com/google/adk-python/pull/6190#issuecomment-4806028035
https://cla.developers.google.com/https://cla.developers.google.com/
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/rohityan
rohityanhttps://github.com/rohityan
request clarification https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3A%22request%20clarification%22
Jun 26, 2026https://github.com/google/adk-python/pull/6190#event-27228952155
https://github.com/zaidwhy
docs: add reproduction script for issuehttps://github.com/google/adk-python/pull/6190/commits/6f3cf0320fef1d15bb2d4373f627e3cb06477cc6
google#3591https://github.com/google/adk-python/issues/3591
6f3cf03https://github.com/google/adk-python/pull/6190/commits/6f3cf0320fef1d15bb2d4373f627e3cb06477cc6
https://github.com/zaidwhy
zaidwhyhttps://github.com/zaidwhy
force-pushedhttps://github.com/google/adk-python/compare/3e0ada7c4378e23eb05c43cdffd0767c6f935270..6f3cf0320fef1d15bb2d4373f627e3cb06477cc6
3e0ada7https://github.com/google/adk-python/commit/3e0ada7c4378e23eb05c43cdffd0767c6f935270
6f3cf03https://github.com/google/adk-python/commit/6f3cf0320fef1d15bb2d4373f627e3cb06477cc6
Compare https://github.com/google/adk-python/compare/3e0ada7c4378e23eb05c43cdffd0767c6f935270..6f3cf0320fef1d15bb2d4373f627e3cb06477cc6
June 26, 2026 04:44https://github.com/google/adk-python/pull/6190#event-27230936180
https://github.com/zaidwhy
zaidwhyhttps://github.com/zaidwhy
Jun 26, 2026https://github.com/google/adk-python/pull/6190#issuecomment-4806437331
Please reload this pagehttps://github.com/google/adk-python/pull/6190
zaidwhyhttps://github.com/zaidwhy
June 26, 2026 11:47https://github.com/google/adk-python/pull/6190#commits-pushed-51f7fa9
https://github.com/zaidwhy
Merge branch 'main' into fix/cleanup-unused-files-optional-type-hintshttps://github.com/google/adk-python/pull/6190/commits/51f7fa9d56b6e5a2b6647dfd5b7b0cc630f884ea
51f7fa9https://github.com/google/adk-python/pull/6190/commits/51f7fa9d56b6e5a2b6647dfd5b7b0cc630f884ea
https://github.com/rohityan
Merge branch 'main' into fix/cleanup-unused-files-optional-type-hintshttps://github.com/google/adk-python/pull/6190/commits/2a0b349251752627496a0750aac90bc9b271b6d3
2a0b349https://github.com/google/adk-python/pull/6190/commits/2a0b349251752627496a0750aac90bc9b271b6d3
https://github.com/rohityan
rohityanhttps://github.com/rohityan
Jun 26, 2026https://github.com/google/adk-python/pull/6190#issuecomment-4813386644
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/zaidwhy
chore: remove repro_3591.py from PR branchhttps://github.com/google/adk-python/pull/6190/commits/b06b0ca7f2cab785d64b559e25c52f57810f16b5
b06b0cahttps://github.com/google/adk-python/pull/6190/commits/b06b0ca7f2cab785d64b559e25c52f57810f16b5
https://github.com/zaidwhy
zaidwhyhttps://github.com/zaidwhy
Jun 27, 2026https://github.com/google/adk-python/pull/6190#issuecomment-4815441273
Please reload this pagehttps://github.com/google/adk-python/pull/6190
@rohityanhttps://github.com/rohityan
Please reload this pagehttps://github.com/google/adk-python/pull/6190
zaidwhyhttps://github.com/zaidwhy
July 2, 2026 10:48https://github.com/google/adk-python/pull/6190#commits-pushed-3843fed
https://github.com/zaidwhy
Merge branch 'main' into fix/cleanup-unused-files-optional-type-hintshttps://github.com/google/adk-python/pull/6190/commits/3843fed693fb91351fde5e62c5c906c9d1837572
3843fedhttps://github.com/google/adk-python/pull/6190/commits/3843fed693fb91351fde5e62c5c906c9d1837572
https://github.com/zaidwhy
Merge branch 'main' into fix/cleanup-unused-files-optional-type-hintshttps://github.com/google/adk-python/pull/6190/commits/cf605b4a18d23a2dcb5b4e630908d037404eb640
cf605b4https://github.com/google/adk-python/pull/6190/commits/cf605b4a18d23a2dcb5b4e630908d037404eb640
https://github.com/rohityan
Merge branch 'main' into fix/cleanup-unused-files-optional-type-hintshttps://github.com/google/adk-python/pull/6190/commits/14bfdda0f68403806adb122566d88389f85df937
14bfddahttps://github.com/google/adk-python/pull/6190/commits/14bfdda0f68403806adb122566d88389f85df937
https://github.com/zaidwhy
Merge branch 'main' into fix/cleanup-unused-files-optional-type-hintshttps://github.com/google/adk-python/pull/6190/commits/c3fa3bec5f33f0d49933af355a3f2d352f1ab071
c3fa3behttps://github.com/google/adk-python/pull/6190/commits/c3fa3bec5f33f0d49933af355a3f2d352f1ab071
https://github.com/rohityan
Merge branch 'main' into fix/cleanup-unused-files-optional-type-hintshttps://github.com/google/adk-python/pull/6190/commits/d5a145fc7a0190af8bf213e638c88677c695fb00
d5a145fhttps://github.com/google/adk-python/pull/6190/commits/d5a145fc7a0190af8bf213e638c88677c695fb00
https://github.com/rohityan
rohityanhttps://github.com/rohityan
needs review https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3A%22needs%20review%22
request clarification https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3A%22request%20clarification%22
Jul 24, 2026https://github.com/google/adk-python/pull/6190#event-28456692363
https://github.com/rohityan
rohityanhttps://github.com/rohityan
Jul 24, 2026https://github.com/google/adk-python/pull/6190#issuecomment-5074409999
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/rohityan
rohityanhttps://github.com/rohityan
cli https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3Acli
tools https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3Atools
Jul 24, 2026https://github.com/google/adk-python/pull/6190#event-28456712517
https://github.com/rohityan
rohityanhttps://github.com/rohityan
sasha-gitghttps://github.com/sasha-gitg
July 24, 2026 21:07https://github.com/google/adk-python/pull/6190#event-28456715775
https://github.com/rohityan
rohityanhttps://github.com/rohityan
Jul 24, 2026https://github.com/google/adk-python/pull/6190#issuecomment-5074414298
@sasha-gitghttps://github.com/sasha-gitg
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/adk-bot
adk-bothttps://github.com/adk-bot
tools https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3Atools
Jul 25, 2026https://github.com/google/adk-python/pull/6190#event-28462647898
https://github.com/xuanyang15
xuanyang15https://github.com/xuanyang15
Aug 4, 2026https://github.com/google/adk-python/pull/6190#issuecomment-5174179312
cbedafdhttps://github.com/google/adk-python/commit/cbedafd9e4c18d462dc571e1bb079177a496ef51
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/xuanyang15
xuanyang15https://github.com/xuanyang15
Aug 4, 2026https://github.com/google/adk-python/pull/6190#event-28924708850
https://github.co/hiddenchars
https://github.com/google/adk-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fadk-python%2Fpull%2F6190
https://github.com/sasha-gitg
sasha-gitg https://github.com/sasha-gitg
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/rohityan
rohityan https://github.com/rohityan
cli https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3Acli
needs review https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3A%22needs%20review%22
tools https://github.com/google/adk-python/issues?q=state%3Aopen%20label%3Atools
Error adk_web_server.py:1431 - Error in event_generator: Failed to parse the parameter file_patterns: List[str] | None = None of function cleanup_unused_files https://github.com/google/adk-python/issues/3591
Please reload this pagehttps://github.com/google/adk-python/pull/6190
https://github.com/zaidwhy
https://github.com/adk-bot
https://github.com/rohityan
https://github.com/xuanyang15
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.