From 8f7fc9347af2f5d8041e3c31f3fe7d3ee93b24fd Mon Sep 17 00:00:00 2001 From: shenchucheng Date: Sat, 20 Apr 2024 20:10:22 +0800 Subject: [PATCH] rename uid to uuid --- metagpt/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/report.py b/metagpt/report.py index 3fb49c89e..e821e353a 100644 --- a/metagpt/report.py +++ b/metagpt/report.py @@ -40,7 +40,7 @@ class ResourceReporter(BaseModel): """Base class for resource reporting.""" block: BlockType = Field(description="The type of block that is reporting the resource") - uid: UUID = Field(default_factory=uuid4, description="The unique identifier for the resource") + uuid: UUID = Field(default_factory=uuid4, description="The unique identifier for the resource") callback_url: str = Field( os.environ.get("METAGPT_OBSERVER_CALLBACK_URL", ""), description="The URL to which the report should be sent" )