feat: 将自定义工作流部署为模型服务

This commit is contained in:
martsforever
2026-03-31 16:55:08 +08:00
parent cedd5d7919
commit 32e62c0825
3 changed files with 110 additions and 1 deletions
+8
View File
@@ -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")
}
}