feat: comments
This commit is contained in:
@@ -5,6 +5,8 @@ def next_thread_id():
|
||||
return str(uuid.uuid4())
|
||||
|
||||
|
||||
# 用于配置LangServe的add_routes函数的per_req_config_modifier参数
|
||||
# 将请求中的config参数传递给Graph
|
||||
async def PER_REQ_CONFIG_MODIFIER(config, request):
|
||||
body = await request.json()
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user