Module nonebot_plugin_marshoai._types
class DeveloperMessage(ChatRequestMessage)
@overload
func __init__(self, *, content: Optional[str] = None)
Source code or View on GitHub
python
@overload
def __init__(self, *, content: Optional[str]=None):
...
@overload
func __init__(self, mapping: Mapping[str, Any])
Description: :param mapping: raw JSON to initialize the model. :type mapping: Mapping[str, Any]
Source code or View on GitHub
python
@overload
def __init__(self, mapping: Mapping[str, Any]):
func __init__(self, *args: Any, **kwargs: Any) -> None
Source code or View on GitHub
python
def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, role='developer', **kwargs)