mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 21:28:25 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
9909742371
commit
11c8a4bfa8
@ -56,7 +56,9 @@ class TraceAppConfigApi(Resource):
|
||||
args = TraceProviderQuery.model_validate(request.args.to_dict(flat=True)) # type: ignore
|
||||
|
||||
try:
|
||||
trace_config = OpsService.get_tracing_app_config(app_id=app_model.id, tracing_provider=args.tracing_provider)
|
||||
trace_config = OpsService.get_tracing_app_config(
|
||||
app_id=app_model.id, tracing_provider=args.tracing_provider
|
||||
)
|
||||
if not trace_config:
|
||||
return {"has_not_configured": True}
|
||||
return trace_config
|
||||
|
||||
Loading…
Reference in New Issue
Block a user