Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FayazRahman committed May 10, 2023
1 parent 9f317c8 commit bdac281
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loopgpt/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def __init__(

if model is None:
model = OpenAIModel("gpt-3.5-turbo")
elif isinstance(model, str):
model = OpenAIModel(model)

if embedding_provider is None:
embedding_provider = OpenAIEmbeddingProvider()
Expand Down

0 comments on commit bdac281

Please sign in to comment.