Rename AiHandler to LiteLLMAiHandler

This commit is contained in:
Brian Pham
2023-12-11 16:56:49 +08:00
parent 7e47baa9db
commit 523a896465
8 changed files with 15 additions and 15 deletions

View File

@ -11,7 +11,7 @@ from pr_agent.algo.base_ai_handler import BaseAiHandler
OPENAI_RETRIES = 5
class AiHandler(BaseAiHandler):
class LiteLLMAiHandler(BaseAiHandler):
"""
This class handles interactions with the OpenAI API for chat completions.
It initializes the API key and other settings from a configuration file,