Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add agent debug info #13267

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from

Conversation

Onokaev
Copy link

@Onokaev Onokaev commented Feb 23, 2025

https://msazure.visualstudio.com/Microsoft%20Teams%20Extensibility/_workitems/edit/30491792
With capabilities and actions
image

With no capabilities
image

With capability executions
image

Note
There is a pending PR to expose agent metadata to the debug info, but these will be populated soon.

@Onokaev Onokaev marked this pull request as ready for review February 24, 2025 08:59
}

private static getExecutionStatusColor(executionStatus: string): ANSIColors {
if (executionStatus.toString() === "1") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as line 283

(this.functionExecutions?.length ?? 0) - failedActionExecutionsCount;

debugConsole.appendLine(
`${ANSIColors.GREEN}${enabledCapabilitiesCount} enabled capabilities ${enabledPluginsCount} enabled actions, ${failedActionExecutionsCount} failed function executions, ${successfulActionExecutionsCount} successful function executions, ${matchedFunctionCandidatesCount} matched function candidates, ${functionsSelectedForInvocationCount} functions selected for invocation.`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may have a comma after enabled capabilities
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants