Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix key for FastapiContextDataProvider context data provider #3890

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def score(request: Request):
logger.info("Start loading request data...")
data = load_request_data(app.flow, raw_data, logger)
# set context data
_request_ctx_var.get()["data"] = data
_request_ctx_var.get()["input_data"] = data
_request_ctx_var.get()["flow_id"] = app.flow.id or app.flow.name
run_id = _request_ctx_var.get().get("req_id", None)
# TODO: refine this once we can directly set the input/output log level to DEBUG in flow_invoker.
Expand Down
Loading