rename uid to uuid

This commit is contained in:
shenchucheng 2024-04-20 20:10:22 +08:00
parent c473950812
commit 8f7fc9347a

View file

@ -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"
)