0690f2bbfd
Refactor litellm_ai_handler.py and update requirements.txt
...
- Replace retry library with tenacity for better exception handling
- Add verbosity level checks for logging prompts and AI responses
- Add support for HuggingFace API base and repetition penalty in chat completion
- Update requirements.txt with tenacity library
2024-03-06 12:13:54 +02:00
1c856a7d41
upgrade litellm
2024-03-06 08:06:59 +02:00
dad3d3429f
artifact
2024-02-25 10:45:15 +02:00
984a2888ae
Refactor logging statements for better readability and debugging
2024-02-25 10:04:04 +02:00
8252b98bf5
Refactor logging statements for better readability and debugging
2024-02-25 10:01:53 +02:00
34e421f79b
Refactor logging statements for better readability and debugging
2024-02-25 09:58:58 +02:00
877796b539
Refactor logging statements for better readability and debugging
2024-02-25 09:46:07 +02:00
ba3f22d81e
Move logging to a central location for all AI Handlers
2024-01-04 16:22:22 +02:00
ac7aaa0cd3
Add support for Azure OpenAI in LangChainOpenAIHandler
2024-01-04 16:22:22 +02:00
38ea9143f3
Make LangChain dependency optional in pr-agent and update requirements.txt
2023-12-14 09:05:53 +02:00
557b39ec87
Merge branch 'base-ai-handler' into abstract-BaseAiHandler
2023-12-14 07:44:13 +08:00
8fb4a42ef1
Update AI handler instantiation in server files
2023-12-13 08:16:02 +08:00
ca1ccd7b91
update base
2023-12-12 23:56:20 +08:00
b7225cc674
update langchain
2023-12-12 23:52:50 +08:00
a627dcd64f
Update langchain
2023-12-12 23:28:58 +08:00
0c66554d50
langchain: move model and temperature to chat_completion
2023-12-12 23:07:46 +08:00
6c7beccb4f
add LangChain AI Handler
2023-12-12 23:03:49 +08:00
7eb2e769cf
Move ai handlers to specific folder
2023-12-12 23:03:38 +08:00