@valon-technologies/gestalt
Preparing search index...
telemetry
withAgentInvocation
Function withAgentInvocation
withAgentInvocation
<
T
>
(
options
:
AgentInvocationOptions
,
callback
:
(
operation
:
GenAIOperation
)
=>
T
|
Promise
<
T
>
,
)
:
Promise
<
T
>
Runs a callback inside a GenAI agent invocation span.
Type Parameters
T
Parameters
options
:
AgentInvocationOptions
callback
:
(
operation
:
GenAIOperation
)
=>
T
|
Promise
<
T
>
Returns
Promise
<
T
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@valon-technologies/gestalt
Loading...
Runs a callback inside a GenAI agent invocation span.