608065f2ad
fix: typos
2025-06-17 09:26:57 +03:00
e8ace9fcf9
change type check and remove useless sync
2025-05-26 14:52:45 +09:00
ff52ae9281
add img_path and _create_chat_async
2025-05-25 15:34:50 +09:00
d791e9f3d1
Fix: Improve langchain import error handling and add img_path to handler
...
Addresses issue #1784 :
- Raises ImportError if langchain is not installed when LangChainOpenAIHandler is initialized.
- Adds img_path parameter to LangChainOpenAIHandler.chat_completion for interface consistency.
- Logs a warning if img_path is used with LangChainOpenAIHandler.
2025-05-25 15:28:18 +09:00
466ec4ce90
fix: exclude RateLimitError from retry logic
2025-05-22 15:04:16 +09:00
6405284461
fix: reorder exception handling to enable proper retry behavior
2025-05-20 18:22:33 +09:00
250870a3da
enable usage of openai like apis
2025-05-15 16:05:05 +02:00
7a6a28d2b9
feat: add openrouter support in litellm
2025-05-07 11:54:07 +07:00
869a179506
feat: add support for Mistral and Codestral models
2025-04-18 14:04:59 +09:00
27a7c1a94f
doc update and minor fix
2025-04-16 13:32:53 +05:30
dc46acb762
doc update and minor fix
2025-04-16 13:27:52 +05:30
0da667d179
support Azure AD authentication for OpenAI services for litellm implemetation
2025-04-16 11:19:04 +05:30
665fb90a98
Add support of xAI and their Grok-2 model
...
Close #1630
2025-04-08 01:36:21 +08:00
6610921bba
cleanup
2025-03-20 21:49:19 +02:00
ffefcb8a04
Fix default value for extended_thinking_max_output_tokens
2025-03-11 17:48:12 +07:00
52c99e3f7b
Merge pull request #1605 from KennyDizi/main
...
Support extended thinking for model `claude-3-7-sonnet-20250219`
2025-03-09 17:03:37 +02:00
222155e4f2
Optimize logging
2025-03-08 08:53:29 +07:00
f9d5e72058
Move logic to _configure_claude_extended_thinking
2025-03-08 08:35:34 +07:00
a8935dece3
Using 2048 for extended_thinking_budget_tokens as well as extended_thinking_max_output_tokens
2025-03-07 17:27:56 +07:00
4f2551e0a6
feat: add DeepInfra support
2025-03-06 15:49:07 +07:00
30bf7572b0
Validate extended thinking parameters
2025-03-03 18:44:26 +07:00
440d2368a4
Set temperature to 1 when using extended thinking
2025-03-03 18:30:52 +07:00
215c10cc8c
Add thinking block to request parameters
2025-03-03 18:29:33 +07:00
7623e1a419
Removed trailing spaces
2025-03-03 18:23:45 +07:00
3817aa2868
fix: remove redundant temperature logging in litellm handler
2025-02-27 10:55:01 +02:00
d6f405dd0d
Merge pull request #1564 from chandan84/fix/support_litellm_extra_headers
...
Fix/support litellm extra headers
2025-02-26 10:15:22 +02:00
93e34703ab
Update litellm_ai_handler.py
...
updates made based on review on https://github.com/qodo-ai/pr-agent/pull/1564
2025-02-25 14:44:03 -05:00
84983f3e9d
line 253-261, pass extra_headers fields from settings to litellm, exception handling to check if extra_headers is in dict format
2025-02-22 14:56:17 -05:00
71451de156
Update litellm_ai_handler.py
...
line 253-258, pass extra_headers fields from settings to litellm, exception handling to check if extra_headers is in dict format
2025-02-22 14:43:03 -05:00
0e4a1d9ab8
line 253-258, pass extra_headers fields from settings to litellm, exception handling to check if extra_headers is in dict format
2025-02-22 14:38:38 -05:00
e7b05732f8
line 253-255, pass extra_headers fields from settings to litellm
2025-02-22 14:12:39 -05:00
37083ae354
Improve logging for adding parameters: temperature and reasoning_effort
2025-02-22 22:19:58 +07:00
9abb212e83
Add reasoning_effort argument to chat completion request
2025-02-21 22:16:18 +07:00
35059cadf7
Update pr_agent/algo/ai_handlers/litellm_ai_handler.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-18 11:50:48 +02:00
4edb8b89d1
feat: add support for custom reasoning models
2025-02-18 11:46:22 +02:00
adfc2a6b69
Add temperature only if model supports it
2025-02-16 15:43:40 +07:00
4ac1e15bae
Refactoring user messages only flow
2025-02-02 18:01:44 +07:00
48377e3c81
Add a null check for user_message_only_models before using it
2025-01-31 11:53:05 +07:00
7eb26b3220
Check current model is in user_message_only_models list
2025-01-31 11:25:51 +07:00
c2ca79da0d
Combining system and user prompts for o1 series and deepseek-reasoner models
2025-01-22 20:33:43 +07:00
e58a535594
Inject deepseek key to DEEPSEEK_API_KEY environment variable
2025-01-17 11:43:06 +07:00
23678c1d4d
Update O1_MODEL_PREFIX to o1 based on new models released
2024-12-22 10:36:59 +07:00
452abe2e18
Move get_version to algo/util.py; fix version to 0.25
2024-12-17 08:44:53 -07:00
75a120952c
Add version metadata and --version command
2024-12-09 09:27:54 -07:00
5c5a3e267c
Merge branch 'main' into introduce-pre-commit
2024-11-08 09:54:21 +02:00
6339845eb4
Remove unused deployment_id variable.
...
The deployment_id variable is assigned but never used in the function.
2024-11-07 14:24:35 +06:00
dacb45dd8a
Merge branch 'main' of https://github.com/ryanzll/pr-agent
...
update openai api
2024-11-02 09:47:14 +08:00
81dea65856
Format files by pre-commit run -a
...
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com >
2024-10-30 10:00:36 +09:00
db062e3e35
Support Google AI Studio
...
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com >
2024-10-29 08:00:16 +09:00
dcb7b66fd7
Update pr_agent/algo/ai_handlers/litellm_ai_handler.py
...
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
2024-10-19 11:34:57 +03:00