Skip to content

Commit dcd9fe0

Browse files
committed
update default max_tokens value of OpenAIWrapper class
1 parent f4cfaf6 commit dcd9fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scieval/api/gpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self,
4343
temperature: float = 0,
4444
timeout: int = 600,
4545
api_base: str = None,
46-
max_tokens: int = 16384,
46+
max_tokens: int = None,
4747
img_size: int = -1,
4848
img_detail: str = 'low',
4949
use_azure: bool = False,

0 commit comments

Comments
 (0)