Interfície M365CopilotAgent (Referència a l'API del client)

Descriu l'Copilot agent de Microsoft actualment actiu — retornat per getCurrentAgent.

Propietats

Nom Tipus Descripció
agentId string \| null L'identificador únic de l'agent actiu, o null si l'usuari està a la línia principal de Microsoft Copilot.
mode M365CopilotAgentMode\| null Com s'està referenciant l'agent, o null quan cap agent està actiu.

Observacions

agentId i mode treballen junts:

  • agentId = cadena, mode = "agentPage" o "mentioned": un agent està actiu.
  • agentId = null, mode = null: l'usuari està explícitament a la línia principal de Microsoft Copilot.

Article relacionat

Mètode getCurrentAgent
Interfície M365CopilotAgentMode