Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZyphrZero/z.ai2api_python
/ generate_uuid
Function
generate_uuid
app/core/upstream.py:74–76 ·
view source on GitHub ↗
生成UUID v4
()
Source
from the content-addressed store, hash-verified
72
]
73
74
def
generate_uuid() -> str:
75
""
"生成UUID v4"
""
76
return
str(uuid.uuid4())
77
78
def
get_dynamic_headers(
79
chat_id: str =
""
,
Callers
3
_build_signed_completion_request
Method · 0.85
_create_upstream_chat
Method · 0.85
transform_request
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected