adk-docs
adk-docs copied to clipboard
Documentation inconsistency - Cloud Run Agent Deployement
Describe the bug
Parameter for get_fast_api_app function in main.py , mentioned in the documentation, differs from actual upadted code
Parameters in Documentation
get_fast_api_app(
agents_dir=AGENT_DIR,
session_db_url=SESSION_DB_URL,
allow_origins=ALLOWED_ORIGINS,
web=SERVE_WEB_INTERFACE,
)
Parameters in 1.3.0 release
def get_fast_api_app(
*,
agents_dir: str,
session_service_uri: Optional[str] = None,
artifact_service_uri: Optional[str] = None,
memory_service_uri: Optional[str] = None,
allow_origins: Optional[list[str]] = None,
web: bool,
trace_to_cloud: bool = False,
lifespan: Optional[Lifespan[FastAPI]] = None,
)
Explanation
session_db_url=SESSION_DB_URL, mentioned in the documentation is different than session_service_uri: Optional[str] = None,
I have this PR for the fix https://github.com/google/adk-docs/pull/409
@DeanChensj Could you submit your change?