fix(11153): resolve lint failure and revert conflicting registry change
CI / push-validation (pull_request) Successful in 48s
CI / helm (pull_request) Successful in 52s
CI / lint (pull_request) Successful in 1m21s
CI / build (pull_request) Successful in 1m26s
CI / typecheck (pull_request) Successful in 1m43s
CI / security (pull_request) Successful in 1m54s
CI / quality (pull_request) Successful in 1m56s
CI / integration_tests (pull_request) Successful in 7m23s
CI / unit_tests (pull_request) Failing after 9m14s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 8s

- Format auto_debug.py per ruff to fix CI / lint failure
- Revert registry.py provider/model model-field change that conflicts with TDD test assertions from issue #10926 (models must use bare identifiers without provider prefix)
This commit is contained in:
2026-05-16 09:31:43 +00:00
committed by Forgejo
parent 0d6104cedd
commit fdf5a23d0b
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ class ActorRegistry:
yaml_dict: dict[str, Any] = {
"name": self._actor_name(provider, model),
"type": "llm",
"model": f"{provider}/{model}",
"model": model,
"description": (
f"Built-in actor from provider registry ({provider}/{model})"
),
+1 -3
View File
@@ -302,9 +302,7 @@ Validate this fix."""
for word in ["valid", "correct", "resolves", "fixes"]
)
except Exception as exc: # pragma: no cover - defensive
logger.warning(
"LLM validation failed, treating fix as invalid: %s", exc
)
logger.warning("LLM validation failed, treating fix as invalid: %s", exc)
is_valid = False
if not is_valid: