Skip to content

Conversation

@GordonSmith
Copy link
Member

No description provided.

@GordonSmith GordonSmith requested a review from Copilot January 6, 2026 09:18
@GordonSmith GordonSmith changed the title W UI nfo details feat: add Get Workunit Metrics tool for performance metrics retrieval Jan 6, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new Language Model tool for fetching detailed workunit metrics and performance information from HPCC Platform workunits.

  • Introduces GetWorkunitMetricsTool to retrieve normalized performance metrics for a specific workunit by WUID
  • Integrates the new tool into the ECL extension's LM tools registry
  • Adds corresponding package.json contributions with proper schema and metadata

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/ecl/lm/tools/getWorkunitMetrics.ts New tool implementation that fetches normalized workunit metrics including execution details, timing, and resource usage via the @hpcc-js/comms Workunit API
src/ecl/lm/tools.ts Registers the new GetWorkunitMetricsTool in the extension's LM tools collection
package.json Adds languageModelTools contribution entry for ecl-extension-getWorkunitMetrics with appropriate tags, display name, model description, and input schema

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

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.

1 participant