MCPcopy Create free account
hub / github.com/CL-lau/SQL-GPT / __init__

Method __init__

utils/message_content.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40
41class RoleManage:
42 def __init__(self):
43 self.roleTypeList = ["system", "user", "assistant"]
44
45 def roleCheck(self, role_type: str) -> bool:
46 return role_type in self.roleTypeList

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected