mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-24 14:15:17 +02:00
typing of store
This commit is contained in:
parent
3b066b36cc
commit
bf4ef46a76
1 changed files with 3 additions and 2 deletions
|
|
@ -6,9 +6,10 @@
|
|||
@File : sales.py
|
||||
"""
|
||||
|
||||
from typing import Any, Optional
|
||||
from typing import Optional
|
||||
|
||||
from metagpt.actions import SearchAndSummarize, UserRequirement
|
||||
from metagpt.document_store.base_store import BaseStore
|
||||
from metagpt.roles import Role
|
||||
from metagpt.tools import SearchEngineType
|
||||
|
||||
|
|
@ -23,7 +24,7 @@ class Sales(Role):
|
|||
"but pretend to be what I know. Note that each of my replies will be replied in the tone of a "
|
||||
"professional guide"
|
||||
|
||||
store: Optional[Any] = None
|
||||
store: Optional[BaseStore] = None
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue