AgentSpanNameCallback
Namespace: Vercel.AI.OpenTelemetry
public delegate string? AgentSpanNameCallback(string modelId, string? functionId)Maps to the agentSpanName callback of OpenTelemetryOptions. Return null for the default name.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string | |
functionId |
string |
Returns: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product