Skip to content

[DOCS] Hooks Basic usage should include bare minimum example of usage for Registering Individual Hook Callbacks #196

@pragmaticivan

Description

@pragmaticivan

Documentation Section

docs/user-guide/concepts/agents/hooks.md

Under (Registering Individual Hook Callbacks)

Current State

Currently, the variable hook in the example is not defined anywhere.

Suggested Improvement

Add example with imports and bare minimum code to get this working with an agent

Rationale

Honestly, learning the project from scratch by reading the docs first, and can't tell you where the hooks variable is coming from.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions