feat(core): Support i18n (#1327)

This commit is contained in:
Fangyin Cheng
2024-03-25 20:15:39 +08:00
committed by GitHub
parent fa06be64c1
commit fcc325d411
179 changed files with 12052 additions and 69512 deletions

View File

@@ -141,6 +141,9 @@ class ModelRequestContext:
chat_mode: Optional[str] = None
"""The chat mode of the model inference."""
chat_param: Optional[str] = None
"""The chat param of chat mode"""
extra: Optional[Dict[str, Any]] = field(default_factory=dict)
"""The extra information of the model inference."""