pr-agent/pr_agent/algo/ai_handlers
sharoneyal 8d3f3bca45
Some checks are pending
Build-and-test / build-and-test (push) Waiting to run
docs-ci / deploy (push) Waiting to run
Add support for SSL related interactions: (#2074)
* Add support for SSL related interactions:
1. Inject SSL related env variables to git clone
2. Force LiteLLM to use aiohttp which honors SSL env. variables, this is done by setting configuration toml as follows:

[litellm]
disable_aiohttp = true

* Update pr_agent/git_providers/git_provider.py

Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>

* Guard get_git_ssl_env invocation with try-catch

---------

Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-10-21 19:06:18 +03:00
..
base_ai_handler.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
langchain_ai_handler.py change type check and remove useless sync 2025-05-26 14:52:45 +09:00
litellm_ai_handler.py Add support for SSL related interactions: (#2074) 2025-10-21 19:06:18 +03:00
litellm_helpers.py refactor(ai_handler): remove model parameter from _get_completion and handle it within the method 2025-07-13 21:29:53 +03:00
openai_ai_handler.py add img_path and _create_chat_async 2025-05-25 15:34:50 +09:00