mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-09-10 12:02:59 +02:00
Edit eval script to work with ollama model
This commit is contained in:
parent
7370161d80
commit
5a230e707e
1 changed files with 6 additions and 0 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue