mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
rename uid to uuid
This commit is contained in:
parent
c473950812
commit
8f7fc9347a
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue