Skip to content

fix(inference-v2): simplify no-candidate error and return 503#662

Merged
mcowger merged 1 commit into
mainfrom
fix/inference-v2-target-exhaustion
Jul 4, 2026
Merged

fix(inference-v2): simplify no-candidate error and return 503#662
mcowger merged 1 commit into
mainfrom
fix/inference-v2-target-exhaustion

Conversation

@mcowger

@mcowger mcowger commented Jul 4, 2026

Copy link
Copy Markdown
Owner

User description

Summary

  • Simplify the target-exhaustion error message in the inference-v2 pi-ai executor to "No candidate targets available" (previously referenced pi_ai_provider/pi_ai_model_id internals and beta terminology).
  • Return HTTP 503 instead of 400, matching the v1 path's behavior for this case.

Description

  • Simplify no-candidate error message to "No candidate targets available"

  • Change HTTP status code from 400 to 503 for target exhaustion

  • Update error code from no_beta_compatible_candidate to no_candidate_targets


@mcowger mcowger merged commit e7754c4 into main Jul 4, 2026
3 checks passed
@mcowger mcowger deleted the fix/inference-v2-target-exhaustion branch July 4, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant