chore: worker ruff auto-fix (pre-push lint gate)
CI / load-versions (pull_request) Successful in 14s
CI / push-validation (pull_request) Successful in 25s
CI / build (pull_request) Successful in 46s
CI / lint (pull_request) Successful in 57s
CI / quality (pull_request) Successful in 1m3s
CI / typecheck (pull_request) Successful in 1m20s
CI / security (pull_request) Successful in 1m24s
CI / helm (pull_request) Successful in 47s
CI / unit_tests (pull_request) Failing after 6m16s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Failing after 22m59s
CI / status-check (pull_request) Has been cancelled

This commit is contained in:
cleveragents-auto
2026-06-17 19:24:50 -04:00
parent 7661a792a9
commit fd10cb2a01
+1 -2
View File
@@ -420,8 +420,7 @@ class AgentCardGenerator:
raise ValueError("server_url must not be empty")
if not any(stripped.startswith(scheme) for scheme in self._ALLOWED_SCHEMES):
raise ValueError(
"server_url must start with 'http://' or 'https://', got "
f"'{stripped}'"
f"server_url must start with 'http://' or 'https://', got '{stripped}'"
)
self.server_url = stripped.rstrip("/")
self.streaming = bool(streaming)