You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs: Add Upgrade Fix to Troubleshooting (NVIDIA#659)
* Introduce additional troubleshooting information due to in-place upgrade from aiq -> nat modules
* Restructure Troubleshooting page based on type
Closes
## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/NeMo-Agent-Toolkit/blob/develop/docs/source/resources/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:
- Will Killian (https://github.com/willkill07)
Approvers:
- David Gardner (https://github.com/dagardner-nv)
URL: NVIDIA#659
Signed-off-by: Sangharsh Aglave <[email protected]>
Copy file name to clipboardExpand all lines: docs/source/troubleshooting.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,33 @@ limitations under the License.
17
17
18
18
# NVIDIA NeMo Agent Toolkit Troubleshooting
19
19
20
-
If you encounter any issues:
20
+
## Workflow Issues
21
21
22
22
-**Workflow Not Found**: Ensure that your workflow is correctly registered and that the `_type` in your configuration file matches the workflow's `_type`.
23
23
24
-
-**Dependency Issues**: Verify that all required dependencies are listed in your `pyproject.toml` file and installed. If in doubt run `uv sync --all-groups --all-extras` from the root of the repository.
25
-
26
-
-**Environment Variables**: Double-check that your `NVIDIA_API_KEY` is correctly set.
24
+
-**Requested {category} type is ambiguous**: This error might arise when the `_type` in your configuration file is not unique. Please ensure that the `_type` is unique for each workflow. It can also occur after upgrading the toolkit from a previous version in-place when developing. To fix this issue, run the following commands:
25
+
26
+
<!-- path-check-skip-begin -->
27
+
```bash
28
+
# Remove all __pycache__ directories -- the existing __pycache__ directories contain the old aiqtoolkit packages
# Remove references to the old aiqtoolkit packages
31
+
rm -rf packages/aiqtoolkit*
32
+
# Remove references to the old aiq tests
33
+
rm -rf tests/aiq
34
+
# Remove the current environment since we are going to recreate it
35
+
deactivate; rm -rf .venv
36
+
# Reinstall the environment
37
+
uv sync --all-groups --all-extras
38
+
```
39
+
<!-- path-check-skip-end -->
40
+
41
+
## Runtime Issues
27
42
28
43
- **[429] Too Many Requests**: This error might arise during executing workflows that involve LLM calls because of rate limiting on the LLM models. It is recommended to pause briefly and then attempt the operation again a few times. For warm fix set the `parse_agent_response_max_retries: 1`in`config.yaml`for the `react_agent`. Usually happens that the `react_agent` exhausts the available LLM rate with entire error stack trace.
44
+
45
+
- **Environment Variables**: Double-check that your `NVIDIA_API_KEY` is correctly setif using NVIDIA NIMs. For other LLM providers, you may need to set other environment variables.
46
+
47
+
## Dependency Issues
48
+
49
+
- **Requested type not found**: Verify that all required dependencies are listed in your `pyproject.toml` file and installed. If in doubt run `uv sync --all-groups --all-extras` from the root of the repository.
0 commit comments