fix: address coderabbit followups

This commit is contained in:
lda
2026-06-05 18:49:25 +07:00 Verified
parent d61b183793
commit 80e8f3299f
5 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ def workflow_mcp_source_to_connection_config(source: object) -> ConnectionConfig
if getattr(source, "kind", None) != "mcp":
raise ValueError("expected wf_config MCP source")
for field in ("id", "provider", "account", "enabled", "ownership"):
for field in ("id", "provider", "account", "enabled", "ownership", "transport"):
if getattr(source, field, None) is None:
raise ValueError(f"wf_config MCP source missing required field: {field}")
transport = getattr(source, "transport")