mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 17:56:23 +02:00
feat: new_tid -> new_transaction_id
This commit is contained in:
parent
4756f48406
commit
4a3df70310
3 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ __all__ = [
|
|||
"read_docx",
|
||||
"Singleton",
|
||||
"TOKEN_COSTS",
|
||||
"new_tid",
|
||||
"new_transaction_id",
|
||||
"count_message_tokens",
|
||||
"count_string_tokens",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1090,7 +1090,7 @@ def tool2name(cls, methods: List[str], entry) -> Dict[str, Any]:
|
|||
return mappings
|
||||
|
||||
|
||||
def new_tid(postfix_len=8) -> str:
|
||||
def new_transaction_id(postfix_len=8) -> str:
|
||||
"""
|
||||
Generates a new unique transaction ID based on current timestamp and a random UUID.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue