Skip to content

Bugfix for alert triage agent to run in python 3.11#244

Merged
rapids-bot[bot] merged 1 commit intoNVIDIA:developfrom
hsin-c:hsinc-bugfix-5275274
May 12, 2025
Merged

Bugfix for alert triage agent to run in python 3.11#244
rapids-bot[bot] merged 1 commit intoNVIDIA:developfrom
hsin-c:hsinc-bugfix-5275274

Conversation

@hsin-c
Copy link
Contributor

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

Addressing an f-string bug. Tested using command: aiq run --config_file=examples/alert_triage_agent/configs/config_test_mode.yml --input 'test'

Run was successful:
2025-05-12 18:48:57,893 - aiq.cli.commands.start - INFO - Starting AIQ Toolkit from config file: 'examples/alert_triage_agent/configs/config_test_mode.yml'
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded test data from: examples/alert_triage_agent/data/test_data.csv
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded benign fallback data from: examples/alert_triage_agent/data/benign_fallback_test_data.json
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - ==================================================Running in test mode==================================================

Configuration Summary:

Workflow Type: alert_triage_agent
Number of Functions: 9
Number of LLMs: 5
Number of Embedders: 0
Number of Memory: 0
Number of Retrievers: 0

2025-05-12 18:48:58,279 - aiq_alert_triage_agent - INFO - Host: [test-instance-0.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:50:47,264 - aiq_alert_triage_agent - INFO - Host: [test-instance-1.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:51:47,834 - aiq_alert_triage_agent - INFO - Host: [test-instance-2.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:52:18,400 - aiq_alert_triage_agent - INFO - Host: [test-instance-3.example.com] is under maintenance according to the maintenance database
2025-05-12 18:52:22,566 - aiq.front_ends.console.console_front_end_plugin - INFO -

Workflow Result:
['Successfully processed 4 alerts. Results saved to .tmp/aiq/examples/alert_triage_agent/output/test_output.csv']
Closes

Signed-off-by: Hsin Chen <hsinc@nvidia.com>
@copy-pr-bot
Copy link

copy-pr-bot bot commented May 12, 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
Copy link
Contributor

/ok to test 9bbbd77

@AnuradhaKaruppiah AnuradhaKaruppiah added bug Something isn't working non-breaking Non-breaking change labels May 12, 2025
@AnuradhaKaruppiah
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit dc300b7 into NVIDIA:develop May 12, 2025
10 checks passed
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Jun 3, 2025
Addressing an f-string bug. Tested using command: aiq run --config_file=examples/alert_triage_agent/configs/config_test_mode.yml --input 'test'

Run was successful:
2025-05-12 18:48:57,893 - aiq.cli.commands.start - INFO - Starting AIQ Toolkit from config file: 'examples/alert_triage_agent/configs/config_test_mode.yml'
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded test data from: examples/alert_triage_agent/data/test_data.csv
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded benign fallback data from: examples/alert_triage_agent/data/benign_fallback_test_data.json
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - ==================================================Running in test mode==================================================

Configuration Summary:
--------------------
Workflow Type: alert_triage_agent
Number of Functions: 9
Number of LLMs: 5
Number of Embedders: 0
Number of Memory: 0
Number of Retrievers: 0

2025-05-12 18:48:58,279 - aiq_alert_triage_agent - INFO - Host: [test-instance-0.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:50:47,264 - aiq_alert_triage_agent - INFO - Host: [test-instance-1.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:51:47,834 - aiq_alert_triage_agent - INFO - Host: [test-instance-2.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:52:18,400 - aiq_alert_triage_agent - INFO - Host: [test-instance-3.example.com] is under maintenance according to the maintenance database
2025-05-12 18:52:22,566 - aiq.front_ends.console.console_front_end_plugin - INFO -
--------------------------------------------------
Workflow Result:
['Successfully processed 4 alerts. Results saved to .tmp/aiq/examples/alert_triage_agent/output/test_output.csv']
Closes

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

Approvers:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#244
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Jun 3, 2025
Addressing an f-string bug. Tested using command: aiq run --config_file=examples/alert_triage_agent/configs/config_test_mode.yml --input 'test'

Run was successful:
2025-05-12 18:48:57,893 - aiq.cli.commands.start - INFO - Starting AIQ Toolkit from config file: 'examples/alert_triage_agent/configs/config_test_mode.yml'
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded test data from: examples/alert_triage_agent/data/test_data.csv
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded benign fallback data from: examples/alert_triage_agent/data/benign_fallback_test_data.json
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - ==================================================Running in test mode==================================================

Configuration Summary:
--------------------
Workflow Type: alert_triage_agent
Number of Functions: 9
Number of LLMs: 5
Number of Embedders: 0
Number of Memory: 0
Number of Retrievers: 0

2025-05-12 18:48:58,279 - aiq_alert_triage_agent - INFO - Host: [test-instance-0.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:50:47,264 - aiq_alert_triage_agent - INFO - Host: [test-instance-1.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:51:47,834 - aiq_alert_triage_agent - INFO - Host: [test-instance-2.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:52:18,400 - aiq_alert_triage_agent - INFO - Host: [test-instance-3.example.com] is under maintenance according to the maintenance database
2025-05-12 18:52:22,566 - aiq.front_ends.console.console_front_end_plugin - INFO -
--------------------------------------------------
Workflow Result:
['Successfully processed 4 alerts. Results saved to .tmp/aiq/examples/alert_triage_agent/output/test_output.csv']
Closes

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

Approvers:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#244
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
AnuradhaKaruppiah pushed a commit to AnuradhaKaruppiah/oss-agentiq that referenced this pull request Aug 4, 2025
Addressing an f-string bug. Tested using command: aiq run --config_file=examples/alert_triage_agent/configs/config_test_mode.yml --input 'test'

Run was successful:
2025-05-12 18:48:57,893 - aiq.cli.commands.start - INFO - Starting AIQ Toolkit from config file: 'examples/alert_triage_agent/configs/config_test_mode.yml'
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded test data from: examples/alert_triage_agent/data/test_data.csv
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded benign fallback data from: examples/alert_triage_agent/data/benign_fallback_test_data.json
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - ==================================================Running in test mode==================================================

Configuration Summary:
--------------------
Workflow Type: alert_triage_agent
Number of Functions: 9
Number of LLMs: 5
Number of Embedders: 0
Number of Memory: 0
Number of Retrievers: 0

2025-05-12 18:48:58,279 - aiq_alert_triage_agent - INFO - Host: [test-instance-0.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:50:47,264 - aiq_alert_triage_agent - INFO - Host: [test-instance-1.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:51:47,834 - aiq_alert_triage_agent - INFO - Host: [test-instance-2.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:52:18,400 - aiq_alert_triage_agent - INFO - Host: [test-instance-3.example.com] is under maintenance according to the maintenance database
2025-05-12 18:52:22,566 - aiq.front_ends.console.console_front_end_plugin - INFO - 
--------------------------------------------------
Workflow Result:
['Successfully processed 4 alerts. Results saved to .tmp/aiq/examples/alert_triage_agent/output/test_output.csv']
Closes

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

Approvers:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

URL: NVIDIA#244
scheckerNV pushed a commit to scheckerNV/aiq-factory-reset that referenced this pull request Aug 22, 2025
Addressing an f-string bug. Tested using command: aiq run --config_file=examples/alert_triage_agent/configs/config_test_mode.yml --input 'test'

Run was successful:
2025-05-12 18:48:57,893 - aiq.cli.commands.start - INFO - Starting AIQ Toolkit from config file: 'examples/alert_triage_agent/configs/config_test_mode.yml'
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded test data from: examples/alert_triage_agent/data/test_data.csv
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - Preloaded benign fallback data from: examples/alert_triage_agent/data/benign_fallback_test_data.json
2025-05-12 18:48:58,263 - aiq_alert_triage_agent - INFO - ==================================================Running in test mode==================================================

Configuration Summary:
--------------------
Workflow Type: alert_triage_agent
Number of Functions: 9
Number of LLMs: 5
Number of Embedders: 0
Number of Memory: 0
Number of Retrievers: 0

2025-05-12 18:48:58,279 - aiq_alert_triage_agent - INFO - Host: [test-instance-0.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:50:47,264 - aiq_alert_triage_agent - INFO - Host: [test-instance-1.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:51:47,834 - aiq_alert_triage_agent - INFO - Host: [test-instance-2.example.com] is NOT under maintenance according to the maintenance database
2025-05-12 18:52:18,400 - aiq_alert_triage_agent - INFO - Host: [test-instance-3.example.com] is under maintenance according to the maintenance database
2025-05-12 18:52:22,566 - aiq.front_ends.console.console_front_end_plugin - INFO - 
--------------------------------------------------
Workflow Result:
['Successfully processed 4 alerts. Results saved to .tmp/aiq/examples/alert_triage_agent/output/test_output.csv']
Closes

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

Approvers:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

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

Labels

bug Something isn't working non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants