Skip to content

Commit

Permalink
exhaustive "llava" match
Browse files Browse the repository at this point in the history
  • Loading branch information
ketsapiwiq committed May 19, 2024
1 parent 19a8948 commit f79a549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operate/models/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def get_next_action(model, messages, objective, session_id):
return "coming soon"
if model == "gemini-pro-vision":
return call_gemini_pro_vision(messages, objective), None
if model == "llava" or model == "llava:13b" or "bakllava" or "llava-llama3":
if "llava" in model:
operation = call_ollama_llava(messages, model)
return operation, None
if model == "claude-3":
Expand Down

0 comments on commit f79a549

Please sign in to comment.