Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: code lint (#16164)
jiangbo721e0cf55f5e9d6
diff --git a/api/services/ops_service.py b/api/services/ops_service.pyindex 78340d2bcc2..06b47323044 100644--- a/api/services/ops_service.py+++ b/api/services/ops_service.py@@ -24,10 +24,10 @@ class OpsService:return None# decrypt_token and obfuscated_token- tenant = db.session.query(App).filter(App.id == app_id).first()- if not tenant:+ app = db.session.query(App).filter(App.id == app_id).first()+ if not app:return None- tenant_id = tenant.tenant_id+ tenant_id = app.tenant_iddecrypt_tracing_config = OpsTraceManager.decrypt_tracing_config(tenant_id, tracing_provider, trace_config_data.tracing_config)@@ -117,10 +117,10 @@ class OpsService:return None# get tenant id- tenant = db.session.query(App).filter(App.id == app_id).first()- if not tenant:+ app = db.session.query(App).filter(App.id == app_id).first()+ if not app:return None- tenant_id = tenant.tenant_id+ tenant_id = app.tenant_idtracing_config = OpsTraceManager.encrypt_tracing_config(tenant_id, tracing_provider, tracing_config)if project_url:tracing_config["project_url"] = project_url@@ -157,10 +157,10 @@ class OpsService:return None# get tenant id- tenant = db.session.query(App).filter(App.id == app_id).first()- if not tenant:+ app = db.session.query(App).filter(App.id == app_id).first()+ if not app:return None- tenant_id = tenant.tenant_id+ tenant_id = app.tenant_idtracing_config = OpsTraceManager.encrypt_tracing_config(tenant_id, tracing_provider, tracing_config, current_trace_config.tracing_config)