Skip to content

Commit 273f202

Browse files
committed
exhaustive "llava" match
1 parent 9f7369b commit 273f202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operate/models/apis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def get_next_action(model, messages, objective, session_id):
5252
return "coming soon"
5353
if model == "gemini-pro-vision":
5454
return call_gemini_pro_vision(messages, objective), None
55-
if model == "llava" or model == "llava:13b" or "bakllava" or "llava-llama3":
55+
if "llava" in model:
5656
operation = call_ollama_llava(messages, model)
5757
return operation, None
5858
if model == "claude-3":

0 commit comments

Comments
 (0)