chore: cleaup mps v1 billing

This commit is contained in:
Abhishek Kumar 2026-07-07 17:46:51 +05:30
parent d9b9a1efc8
commit b0b7773ad8
34 changed files with 258 additions and 1229 deletions

View file

@ -2,9 +2,8 @@
Pure, dependency-free helpers derived from `NodeSpec.graph_constraints`.
Lives in tracked code so the regression tests in
`test_workflow_graph_constraints.py` can pin it; the admin cleanup
script in `api/services/admin_utils/local_exec.py` is the production
consumer.
`test_workflow_graph_constraints.py` can pin it; admin cleanup scripts
under `api/services/admin_utils/` are the production consumers.
"""
from collections import Counter

View file

@ -266,8 +266,7 @@ async def _perform_retrieval(
)
# Search runs inside a workflow run: reuse the run's MPS correlation
# id (present only for v2 orgs; None otherwise → sent without the
# protocol). The Dograh-managed path forwards it via request metadata.
# id. The Dograh-managed path forwards it via request metadata.
embedding_service = await build_embedding_service(
db_client=db_client,
provider=embeddings_provider,