Update add method and prompts (#1775)

This commit is contained in:
Dev Khant
2024-09-04 05:42:35 +05:30
committed by GitHub
parent d113037a4f
commit f21ca9b765
5 changed files with 306 additions and 129 deletions

View File

@@ -13,7 +13,7 @@ class OpenAILLM(LLMBase):
super().__init__(config)
if not self.config.model:
self.config.model = "gpt-4o"
self.config.model = "gpt-4o-mini"
if os.environ.get("OPENROUTER_API_KEY"): # Use OpenRouter
self.client = OpenAI(