Description
InMemoryRunner(BaseAgent) currently defaults appName to agent.name().
In adk-python, the default is "InMemoryRunner" when no app_name is provided.
There is an explicit TODO in Java:
https://github.com/google/adk-java/blob/main/core/src/main/java/com/google/adk/runner/InMemoryRunner.java
Expected behavior
new InMemoryRunner(agent) should use appName = "InMemoryRunner".
Actual behavior
appName defaults to agent.name().
Impact
Callers using runAsync(userId, sessionId, ...) may fail to find sessions created under a different app name than the runner's implicit default.
Proposed fix
PR #1485
Description
InMemoryRunner(BaseAgent)currently defaultsappNametoagent.name().In adk-python, the default is
"InMemoryRunner"when noapp_nameis provided.There is an explicit TODO in Java:
https://github.com/google/adk-java/blob/main/core/src/main/java/com/google/adk/runner/InMemoryRunner.java
Expected behavior
new InMemoryRunner(agent)should useappName = "InMemoryRunner".Actual behavior
appNamedefaults toagent.name().Impact
Callers using
runAsync(userId, sessionId, ...)may fail to find sessions created under a different app name than the runner's implicit default.Proposed fix
PR #1485