Skip to content

Modify OpenAIClientOptions timeout settings#341

Merged
239573049 merged 2 commits intoAIDotNet:mainfrom
YaKun9:main
Mar 4, 2026
Merged

Modify OpenAIClientOptions timeout settings#341
239573049 merged 2 commits intoAIDotNet:mainfrom
YaKun9:main

Conversation

@YaKun9
Copy link
Copy Markdown
Contributor

@YaKun9 YaKun9 commented Mar 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 4, 2026 08:51
Copy link
Copy Markdown
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 updates the OpenAI SDK client configuration in AgentFactory to apply an explicit network timeout when constructing OpenAIClientOptions, aligning request behavior with the existing long-running request expectations in OpenDeepWiki’s agent layer.

Changes:

  • Set OpenAIClientOptions.NetworkTimeout to 300 seconds for AiRequestType.OpenAI.
  • Set OpenAIClientOptions.NetworkTimeout to 300 seconds for AiRequestType.OpenAIResponses.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread src/OpenDeepWiki/Agents/AgentFactory.cs
Comment thread src/OpenDeepWiki/Agents/AgentFactory.cs
@239573049 239573049 merged commit a1448db into AIDotNet:main Mar 4, 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.

3 participants