Skip to content

Conversation

@hsin-c
Copy link
Contributor

@hsin-c hsin-c commented May 7, 2025

Description

This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes #213

Tested offline and validated the generation of an expected output file.

@copy-pr-bot
Copy link

copy-pr-bot bot commented May 7, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@AnuradhaKaruppiah AnuradhaKaruppiah requested a review from Copilot May 7, 2025 02:08
@AnuradhaKaruppiah
Copy link
Contributor

/ok to test 76c42c0

Copy link
Contributor

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 migrates configurable parameters from environment variables to a configuration file, streamlining parameter management and improving consistency. Key changes include:

  • Replacing environment variable dependency with explicit config parameters in multiple modules.
  • Updating utility functions to preload and retrieve test data using the new config values.
  • Reflecting these changes in the workflow configuration and documentation.

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
utils.py Refactored functions to preload and retrieve test data using explicit config paths and removed dependency on env vars
telemetry_metrics_*_check_tool.py, network_connectivity_check_tool.py, host_performance_check_tool.py, hardware_check_tool.py, monitoring_process_check_tool.py Updated to use config.test_mode and get_test_data instead of environment variable–driven functions
register.py Updated field types and added new config parameters for test mode and test data paths
config.yml Added test_mode and path parameters for each tool and workflow
README.md Updated documentation to reflect the new configuration approach
Files not reviewed (1)
  • examples/alert_triage_agent/.env_example: Language not supported

Signed-off-by: Hsin Chen <[email protected]>
@dagardner-nv dagardner-nv self-assigned this May 7, 2025
@dagardner-nv
Copy link
Contributor

/ok to test 8177eaf

@dagardner-nv dagardner-nv added improvement Improvement to existing functionality non-breaking Non-breaking change labels May 7, 2025
Copy link
Contributor

@dagardner-nv dagardner-nv left a comment

Choose a reason for hiding this comment

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

LGTM, just a question

Signed-off-by: Hsin Chen <[email protected]>
@hsin-c hsin-c force-pushed the hsinc-213-ata-move-params-to-config branch from a36faaa to 443ec27 Compare May 7, 2025 17:27
@dagardner-nv
Copy link
Contributor

/ok to test 443ec27

@AnuradhaKaruppiah
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 41ce212 into NVIDIA:develop May 8, 2025
10 checks passed
yczhang-nv pushed a commit to yczhang-nv/NeMo-Agent-Toolkit that referenced this pull request May 8, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
Signed-off-by: Yuchen Zhang <[email protected]>
yczhang-nv pushed a commit to yczhang-nv/NeMo-Agent-Toolkit that referenced this pull request May 9, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
Signed-off-by: Yuchen Zhang <[email protected]>
yczhang-nv pushed a commit to yczhang-nv/NeMo-Agent-Toolkit that referenced this pull request May 9, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
yczhang-nv pushed a commit to yczhang-nv/NeMo-Agent-Toolkit that referenced this pull request May 9, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
Signed-off-by: Yuchen Zhang <[email protected]>
yczhang-nv pushed a commit to yczhang-nv/NeMo-Agent-Toolkit that referenced this pull request May 9, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
Signed-off-by: Yuchen Zhang <[email protected]>
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Jun 3, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
Signed-off-by: Eric Evans <[email protected]>
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Jun 3, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
Signed-off-by: Eric Evans <[email protected]>
AnuradhaKaruppiah pushed a commit to AnuradhaKaruppiah/oss-agentiq that referenced this pull request Aug 4, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213 

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
scheckerNV pushed a commit to scheckerNV/aiq-factory-reset that referenced this pull request Aug 22, 2025
This PR moves the parameters used by the model in the environment variables to the config file for easier parameter tracking.
Closes NVIDIA#213 

Tested offline and validated the generation of an expected output file.

Authors:
  - https://github.com/hsin-c

Approvers:
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement to existing functionality non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEA]: Make the alert agent parameters configurable via the workflow's config section

3 participants