Skip to content

Cannot pass EventsCompactionConfig parameter to get_fast_api_app #3537

@adityapandey216

Description

@adityapandey216

Im using get_fast_api_app from google.adk.cli.fast_api to create fastapi app instance and use the exposed routes to invoke the agent. The App instance implemented internally in google.adk.cli.adk_web_server doesnt accept the EventsCompactionConfig that is used for context compression. How do i pass the same? Do i need to have my own implementation of App instance?

Metadata

Metadata

Assignees

Labels

question[Component] This issue is asking a question or clarificationweb[Component] This issue will be transferred to adk-web

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions