Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions loopx/control_plane/quota/task_orchestration_admission.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import Any
from typing import Any, cast

from ..agents.runtime_model import normalized_peer_agent_ids
from ..effect_runtime import effect_runtime_result
Expand Down Expand Up @@ -107,7 +107,7 @@ def build_adaptive_task_orchestration_contract(
normalize_todo_task_domain(value) for value in raw_domains
]
allowed_domains = [domain for domain in normalized_domains if domain]
return effect_runtime_result(
contract = effect_runtime_result(
"quota.task_orchestration.admit",
{
"agent_id": agent_id,
Expand Down Expand Up @@ -135,3 +135,4 @@ def build_adaptive_task_orchestration_contract(
"max_children": int(max_children),
},
)
return cast("dict[str, Any] | None", contract)
Loading