feat: + annotations

This commit is contained in:
莘权 马 2023-08-28 19:45:56 +08:00
parent 455c59d8c4
commit 27561765cf
2 changed files with 4 additions and 3 deletions

View file

@ -4,7 +4,7 @@
@Time : 2023/5/1 11:59
@Author : alexanderwu
@File : const.py'
@Modified By: mashenquan, 2023/8/28. Add 'OPTIONS', 'DEFAULT_LANGUAGE'
@Modified By: mashenquan, 2023/8/28. Add 'OPTIONS', 'DEFAULT_LANGUAGE', 'DEFAULT_MAX_TOKENS'
"""
import contextvars
from pathlib import Path
@ -40,3 +40,4 @@ MEM_TTL = 24 * 30 * 3600
OPTIONS = contextvars.ContextVar("OPTIONS")
DEFAULT_LANGUAGE = "English"
DEFAULT_MAX_TOKENS = 1500