Is your feature request related to a problem? Please describe.
I have a mono-repo with env var loading handled by direnv. In particular it loads env vars from files in this order:
.env then .env.local. Now when I run:
uv --directory=python/example-buyers run -- adk run src/example_buyers/adk/a2a_example
ADK re-loads .env file automatically, negating any overrides in .env.local
I understand this is a convenience feature, but it'd be great if there was a way to disable this behavior.
Describe the solution you'd like
A flag I can pass to adk run like --no-dotenv or similar, to disable this automatic behavior.
Describe alternatives you've considered
For now, I've renamed by env files to .env.dev and .env.local.
Is your feature request related to a problem? Please describe.
I have a mono-repo with env var loading handled by
direnv. In particular it loads env vars from files in this order:.envthen.env.local. Now when I run:ADK re-loads
.envfile automatically, negating any overrides in.env.localI understand this is a convenience feature, but it'd be great if there was a way to disable this behavior.
Describe the solution you'd like
A flag I can pass to
adk runlike--no-dotenvor similar, to disable this automatic behavior.Describe alternatives you've considered
For now, I've renamed by env files to
.env.devand.env.local.