move the model to the endpoint as well
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke R 2024-04-19 09:58:11 -07:00
parent 7b5010d224
commit 1f780c5d1e

View File

@ -183,8 +183,7 @@ async def on_message(ctx):
"role": "user",
},
],
"model": "llama2-chat-7b",
# "model": "mistral-ins-7b-q4",
"model": requests.get(llm_rule_endpoint).json()["model"],
"stream": False,
"max_tokens": 4096,
"stop": ["goon"],