chore: avoid implicit optional in type annotations of method (#8727)
This commit is contained in:
parent
b360feb4c1
commit
240b66d737
37 changed files with 91 additions and 71 deletions
|
|
@ -369,7 +369,7 @@ class CotAgentRunner(BaseAgentRunner, ABC):
|
|||
return message
|
||||
|
||||
def _organize_historic_prompt_messages(
|
||||
self, current_session_messages: list[PromptMessage] = None
|
||||
self, current_session_messages: Optional[list[PromptMessage]] = None
|
||||
) -> list[PromptMessage]:
|
||||
"""
|
||||
organize historic prompt messages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue