Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluder-Paradyne committed Jul 4, 2023
1 parent c9cea9d commit dcca29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superagi/resource_manager/llama_document_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _build_llm(self):
if self.model_name in open_ai_models:
from langchain.chat_models import ChatOpenAI

openai_api_key = self.model_api_key
openai_api_key = get_config("OPENAI_API_KEY") or self.model_api_key
return ChatOpenAI(temperature=0, model_name=self.model_name,
openai_api_key=openai_api_key)

Expand Down

0 comments on commit dcca29f

Please sign in to comment.