Skip to content

Commit 17da3e9

Browse files
committed
Fixed SyntaxWarning: 'is' with a literal
1 parent b19bee2 commit 17da3e9

File tree

1 file changed

+1
-1
lines changed
  • interpreter/terminal_interface/profiles/defaults

1 file changed

+1
-1
lines changed

interpreter/terminal_interface/profiles/defaults/local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def list_ollama_models():
268268
name_answer = inquirer.prompt(name_question)
269269
selected_name = name_answer["name"] if name_answer else None
270270

271-
if selected_name is "llama3":
271+
if selected_name == "llama3":
272272
# If the user selects llama3, we need to check if it's installed, and if not, install it
273273
all_models = list_ollama_models()
274274
if "llama3" not in all_models:

0 commit comments

Comments
 (0)