Edit eval script to work with ollama model

This commit is contained in:
hlillemark 2025-03-17 11:53:31 -07:00
parent 7370161d80
commit 5a230e707e

View file

@ -446,6 +446,12 @@ def make_profiles(agent_names, models, apis, template_profile="profiles/collab_p
"model": models[index],
"url": url
}
elif apis[index] == "ollama":
profile["model"] = {
"api": "ollama",
"model": models[index],
"embedding": "ollama"
}
else:
profile["model"] = models[index]