Azure OpenAI integration, SSL Verification on/off toggle, and retry scheduling update #112
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes updates across multiple files to add Azure OpenAI support. I have tested the changes with both
launch_scientist.py
and individual command-line calls forgenerate_ideas.py
,perform_writeup.py
, andiclr_analysis.py
. Aider integration has been verified, and everything appears to be functioning correctly.Major Updates:
gpt4o
models). Other Azure-supported models can be added down the road.--no-verify-ssl
argument to disable SSL certificate verification for Azure OpenAI models. While this is currently implemented only for Azure, it can be extended to other APIs (OpenAI and Anthropic) since they all usehttpx
clients.Minor Updates:
search_for_paper
ingenerate_ideas.py
). Switched from exponential backoff to constant with jitter for improved efficiency, avoiding excessive hang time.