Skip to content

Commit

Permalink
Merge pull request #24 from ahuang11/patch-2
Browse files Browse the repository at this point in the history
Fix pop model_name
  • Loading branch information
shroominic authored Feb 11, 2024
2 parents f7effee + 860f885 commit 9ade305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/funcchain/model/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def univeral_model_selector(
except Exception as e:
print(e)

model_kwargs.pop("model_name")
model_kwargs.pop("model_name", None)

if settings.openai_api_key:
from langchain_openai.chat_models import ChatOpenAI
Expand Down

0 comments on commit 9ade305

Please sign in to comment.