feat: 将自定义工作流部署为模型服务
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
async def PER_REQ_CONFIG_MODIFIER(config, request):
|
||||
body = await request.json()
|
||||
return {
|
||||
"configurable": {
|
||||
"thread_id":
|
||||
body.get("config", {}).get("configurable", {}).get("thread_id", "default")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user