Skip to content

Fix LLM timeout handling and resolve symlinked skills in Docker builds#119

Merged
hlinsen merged 3 commits intoNVIDIA:mainfrom
mpenn:mpenn_fix-llm-timeout
Apr 13, 2026
Merged

Fix LLM timeout handling and resolve symlinked skills in Docker builds#119
hlinsen merged 3 commits intoNVIDIA:mainfrom
mpenn:mpenn_fix-llm-timeout

Conversation

@mpenn
Copy link
Copy Markdown
Contributor

@mpenn mpenn commented Apr 8, 2026

Update deep agent configuration and enhance retry mechanism

  • Set do_auto_retry to false in deep agent configuration files.
  • Increased max_retries from 2 to 16 and retry_max_delay from 60.0 to 120.0.
  • Updated system prompt for clarity and specificity in deep agent configurations.
  • Added ToolRetryMiddleware to handle tool call retries with exponential backoff in the deep agent function.
  • Copied cuOpt skills to the Docker context for improved functionality.

- Set `do_auto_retry` to false in deep agent configuration files.
- Increased `max_retries` from 2 to 16 and `retry_max_delay` from 60.0 to 120.0.
- Updated system prompt for clarity and specificity in deep agent configurations.
- Added `ToolRetryMiddleware` to handle tool call retries with exponential backoff in the deep agent function.
- Copied cuOpt skills to the Docker context for improved functionality.

Signed-off-by: Matthew Penn <mpenn@nvidia.com>
Comment thread cuopt-agent/cuopt_agent/configs/config-deepagent.yml
Comment thread cuopt-agent/cuopt_agent/configs/config-deepagent.yml
Comment thread cuopt-agent/cuopt_agent/src/nat_cuopt_agent/function/deepagent_fn.py Outdated
Signed-off-by: Matthew Penn <mpenn@nvidia.com>
Copy link
Copy Markdown
Collaborator

@hlinsen hlinsen left a comment

Choose a reason for hiding this comment

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

Thanks @mpenn

Signed-off-by: Matthew Penn <mpenn@nvidia.com>
@hlinsen hlinsen merged commit 09577c7 into NVIDIA:main Apr 13, 2026
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.

2 participants