Skip to content

how to add trim messages #1265

Open
Open
@growmuye

Description

@growmuye

Since the model I can use has a limit of only 64K, it is prone to request overflow errors when used under the agent. I noticed that lite_llm supports trim_message. How can I elegantly support this capability under ADK?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions