This commit is contained in:
Bruce MacDonald 2023-06-26 13:56:54 -04:00
parent d34985b9df
commit 0fc80e0f21

View file

@ -53,5 +53,5 @@ def template(model, prompt):
max_ratio = ratio
closest_key = key
# Return the value of the closest match
p = model_prompts.get(closest_key) # .format(placeholder=prompt)
p = model_prompts.get(closest_key) # TODO: provide a better default template
return p.format(prompt=prompt)