您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 个月前
123456789101112
  1. from pydantic import BaseModel, ValidationError
  2. from dataclasses import dataclass, asdict
  3. from typing import List
  4. @dataclass
  5. class AgentConfig(BaseModel):
  6. chatroomIdWhiteList: List[str] = []
  7. agentTokenId: str
  8. agentEnabled: bool
  9. addContactsFromChatroomIdWhiteList: List[str] = []
  10. chatWaitingMsgEnabled: bool