KEMBAR78
Fix `aiq` command error when the parent directory of `AIQ_CONFIG_DIR` does not exist by yczhang-nv · Pull Request #63 · NVIDIA/NeMo-Agent-Toolkit · GitHub
Skip to content

Conversation

@yczhang-nv
Copy link
Contributor

Description

This issue occurs when the parent directory of AIQ_CONFIG_DIR does not exist. Should use os.makedirs with exist_ok=True to create parent directories when necessary.

Closes #40

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
    • Any contribution which contains commits that are not Signed-Off will not be accepted.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>
@yczhang-nv yczhang-nv added bug Something isn't working non-breaking Non-breaking change labels Apr 2, 2025
@yczhang-nv yczhang-nv self-assigned this Apr 2, 2025
@yczhang-nv yczhang-nv requested a review from a team as a code owner April 2, 2025 18:44
@AnuradhaKaruppiah
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit f5f3cd2 into NVIDIA:develop Apr 2, 2025
9 checks passed
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Apr 2, 2025
… does not exist (NVIDIA#63)

This issue occurs when the parent directory of `AIQ_CONFIG_DIR` does not exist. Should use `os.makedirs` with `exist_ok=True` to create parent directories when necessary.

Closes NVIDIA#40

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AgentIQ/blob/develop/docs/source/advanced/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

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

URL: NVIDIA#63
Signed-off-by: Eric Evans <66225-erevans@users.noreply.gitlab-master.nvidia.com>
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Apr 14, 2025
… does not exist (NVIDIA#63)

This issue occurs when the parent directory of `AIQ_CONFIG_DIR` does not exist. Should use `os.makedirs` with `exist_ok=True` to create parent directories when necessary.

Closes NVIDIA#40 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AgentIQ/blob/develop/docs/source/advanced/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

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

URL: NVIDIA#63
yczhang-nv added a commit to yczhang-nv/NeMo-Agent-Toolkit that referenced this pull request Apr 21, 2025
… does not exist (NVIDIA#63)

This issue occurs when the parent directory of `AIQ_CONFIG_DIR` does not exist. Should use `os.makedirs` with `exist_ok=True` to create parent directories when necessary.

Closes NVIDIA#40

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AgentIQ/blob/develop/docs/source/advanced/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

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

URL: NVIDIA#63
Signed-off-by: Yuchen Zhang <134643420+yczhang-nv@users.noreply.github.com>
@yczhang-nv yczhang-nv deleted the yuchen-fix-gh-issue-40 branch May 6, 2025 21:47
yczhang-nv added a commit to yczhang-nv/NeMo-Agent-Toolkit that referenced this pull request May 8, 2025
… does not exist (NVIDIA#63)

This issue occurs when the parent directory of `AIQ_CONFIG_DIR` does not exist. Should use `os.makedirs` with `exist_ok=True` to create parent directories when necessary.

Closes NVIDIA#40

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AgentIQ/blob/develop/docs/source/advanced/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

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

URL: NVIDIA#63
Signed-off-by: Yuchen Zhang <134643420+yczhang-nv@users.noreply.github.com>
AnuradhaKaruppiah pushed a commit to AnuradhaKaruppiah/oss-agentiq that referenced this pull request Aug 4, 2025
… does not exist (NVIDIA#63)

This issue occurs when the parent directory of `AIQ_CONFIG_DIR` does not exist. Should use `os.makedirs` with `exist_ok=True` to create parent directories when necessary.

Closes NVIDIA#40 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AgentIQ/blob/develop/docs/source/advanced/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

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

URL: NVIDIA#63
scheckerNV pushed a commit to scheckerNV/aiq-factory-reset that referenced this pull request Aug 22, 2025
… does not exist (NVIDIA#63)

This issue occurs when the parent directory of `AIQ_CONFIG_DIR` does not exist. Should use `os.makedirs` with `exist_ok=True` to create parent directories when necessary.

Closes NVIDIA#40 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AgentIQ/blob/develop/docs/source/advanced/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Yuchen Zhang (https://github.com/yczhang-nv)

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

URL: NVIDIA#63
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.

AgentIQ info command doesn't work in package mode

2 participants