mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Fix] fix docstring (#684)
This commit is contained in:
parent
e78857ac36
commit
4f0b373a0a
@ -49,8 +49,8 @@ class IPythonInterpreter(BaseAction):
|
|||||||
Defaults to 20.
|
Defaults to 20.
|
||||||
trim_output (int, optional): Max characters restriction of ipython
|
trim_output (int, optional): Max characters restriction of ipython
|
||||||
outputs. If None, do not perform any trim.
|
outputs. If None, do not perform any trim.
|
||||||
TODO: Notice that, this is not token len. Anf trim strategies
|
Notice that, this is not token length but string length.
|
||||||
might be added later. Defaults to 1024.
|
Trim strategies might be added later if needed. Defaults to 1024.
|
||||||
user_data_dir (str): Specified the user data directory for files
|
user_data_dir (str): Specified the user data directory for files
|
||||||
loading. If set to `ENV`, use `USER_DATA_DIR` environment variable.
|
loading. If set to `ENV`, use `USER_DATA_DIR` environment variable.
|
||||||
Defaults to `ENV`.
|
Defaults to `ENV`.
|
||||||
|
Loading…
Reference in New Issue
Block a user