8000 Documentation inconsistency - Cloud Run Agent Deployement · Issue #1459 · google/adk-python · GitHub
[go: up one dir, main page]

Skip to content
Documentation inconsistency - Cloud Run Agent Deployement #1459
Open
@Apollovishwas

Description

@Apollovishwas

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0