Skip to content

Adding processLlmRequest API to BaseToolset #1146

@r4inee

Description

@r4inee

Is your feature request related to a specific problem?

Adding capability for BaseToolset to modify LLM request during LLM request preprocessing.

This seems like its a pre-requisite to #924

Describe the Solution You'd Like

API which aligns with adk-python

https://github.com/google/adk-python/blob/0e93faf0813a5f99926d39fb293ed02f9ca76e10/src/google/adk/tools/base_toolset.py#L192

Impact on your work

We are trying to experiment with Skills and current are using before model callback hooks as a workaround, this is a API is a enable the implementation to match adk-python and eventually may look to contribute the capability upstream.

Willingness to contribute

Yes

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions