Set custom attributes on a Model or AgentTool that can be accessed by logging hooks. This function stores key-value pairs as attributes on the object, making them accessible to hooks during model invocation events. Attributes are automatically scoped to async or sync contexts.Documentation Index
Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
obj | `Model | AgentTool` | ✗ | None |