Skip to content

Support generation_kwargs for Agent #9615

@jdb78

Description

@jdb78

Is your feature request related to a problem? Please describe.
One cannot pass model parameters to the Agent dynamically.

Describe the solution you'd like
Add generation_kwargs to Agent class's run and run_async methods, which is passed to the chat_generator. Currently, only the streaming_callback is supported.

Describe alternatives you've considered
Initializing the pipeline everytime before it is being used

Metadata

Metadata

Assignees

Labels

P2Medium priority, add to the next sprint if no P1 availabletype:featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions