Skip to content

Commit

Permalink
fix(llamabot): update model names and limit openai version
Browse files Browse the repository at this point in the history
- Limited the version of openai dependency to <=0.28.1 in pyproject.toml

This is a temporary change. See LangChain: langchain-ai/langchain#12956 for more context.
tl;dr: OpenAI's update breaks a lot of LangChain.
  • Loading branch information
ericmjl committed Nov 7, 2023
1 parent 57389fb commit 1d881a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llamabot/bot/ollama_model_names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ wizardlm
sqlcoder
dolphin2.1-mistral
dolphin2.2-mistral
yarn-mistral
codebooga
nexusraven
yarn-mistral
mistrallite
openhermes2.5-mistral
yarn-llama2
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespaces = false
name = "llamabot"
version = "0.0.87"
dependencies = [
"openai",
"openai<=0.28.1",
"langchain",
"llama_index",
"panel>=1.1.0",
Expand Down

0 comments on commit 1d881a4

Please sign in to comment.