pull/59/head
Kye 1 year ago
parent 438768567a
commit 95f3cc62eb

@ -68,7 +68,7 @@ class AbstractWorker:
def generate_reply(
self,
messages: Optional[List[Dict]] = None,
sender: Optional["AbstractWorker"] = None,
sender, #Optional["AbstractWorker"] = None,
**kwargs,
) -> Union[str, Dict, None]:
"""(Abstract method) Generate a reply based on the received messages.
@ -83,7 +83,7 @@ class AbstractWorker:
async def a_generate_reply(
self,
messages: Optional[List[Dict]] = None,
sender: Optional["AbstractWorker"] = None,
sender, #Optional["AbstractWorker"] = None,
**kwargs,
) -> Union[str, Dict, None]:
"""(Abstract async method) Generate a reply based on the received messages.

Loading…
Cancel
Save