mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-09 07:42:38 +02:00
serialize mgxenv
This commit is contained in:
parent
5f86247c0d
commit
98ac5fbce3
10 changed files with 185 additions and 30 deletions
|
|
@ -6,7 +6,7 @@ from pydantic import BaseModel
|
|||
class ExpRetriever(BaseModel):
|
||||
"""interface for experience retriever"""
|
||||
|
||||
def retrieve(self, context: str) -> str:
|
||||
def retrieve(self, context: str = "") -> str:
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue