Ir al contenido principal

Function: isSupervisorTool()

Function: isSupervisorTool()

function isSupervisorTool(value: unknown): value is HostedSupervisorTool;

Type guard for HostedSupervisorTool. Used by the agents plugin (buildToolIndex) and standalone runAgent (classifyTool) to route supervisor-hosted tools to the extensions payload rather than the adapter's tools array.

Parameters

ParameterType
valueunknown

Returns

value is HostedSupervisorTool

Databricks Developer Hub

¿Todo listo para lanzar tu próxima aplicación basada en agentes en minutos?

Leer la documentación