Skip to content

Question: Recommended way of Context extension #447

Description

@tSte

I'm trying to find the idiomatic way to inject references to custom objects (e.g. a database handle, an API client, a service container) to agent context so that they're accessible from everywhere within an invocation. Tools, plugins, and agent callbacks alike. I wanted to ask what is the recommended way of doing this?

Thanks!

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions