"library/vscode:/vscode.git/clone" did not exist on "9cefc2619328a390cdf125f185fd31c50896cdbb"
Commit 09cd76c7 authored by Jonathan Tow's avatar Jonathan Tow
Browse files

Fix assertion error string

parent 3fdff22f
......@@ -459,9 +459,9 @@ class Task(abc.ABC):
def fewshot_context(self, doc, num_fewshot, provide_description, rnd, description=None):
assert not provide_description, (
"The `provide_description` arg will be removed in future versions. To provide "
"custom descriptions on a per-task basis, supply the `description_dict` "
"arg with your task-to-description dictionary."
"The `provide_description` arg will be removed in future versions. To prepend "
"a custom description to the context, supply the corresponding string via the "
"`description` arg."
)
description = description + "\n\n" if description else ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment