Skip to content

Support generation_kwargs for Agent #9615

Open
@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

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions