Skip to content

Commit b294e78

Browse files
committed
feature: add sid
1 parent e743b32 commit b294e78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyWrapper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ int PyWrapper::wrapperOnceExec(const char *usrTag, std::map <std::string, std::s
283283

284284
}
285285
SetSidUsrTag(sid, usrTag);
286-
286+
params["sid"] = sid;
287287
py::gil_scoped_acquire acquire;
288288
// 执行python exec 推理
289289
py::object r = _wrapperOnceExec(params, reqData);
@@ -366,7 +366,7 @@ int PyWrapper::wrapperOnceExecAsync(const char *usrTag, std::map <std::string, s
366366
}
367367
int ret = 0;
368368
SetSidUsrTag(sid, usrTag);
369-
369+
params["sid"] = sid;
370370
py::gil_scoped_acquire acquire;
371371
// 执行python exec 推理
372372
py::object r = _wrapperOnceExecAsync(params, reqData, sid);

0 commit comments

Comments
 (0)