Skip to content

fix: handle nested image count errors safely#33

Merged
Minorli merged 1 commit into
mainfrom
fix/0.1.60-image-count-path
Jul 11, 2026
Merged

fix: handle nested image count errors safely#33
Minorli merged 1 commit into
mainfrom
fix/0.1.60-image-count-path

Conversation

@Minorli

@Minorli Minorli commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • recognize nested upstream candidate-count parameters such as tools[0].n
  • fall back without n only for explicit HTTP 400 parameter rejections
  • avoid retries for ambiguous gateway failures and moderation messages
  • release PicGen 0.1.60

Test plan

  • 393 pytest tests passed
  • 87% coverage (fail-under 80)
  • Ruff, Mypy, Node syntax, Shell syntax, Compose config, uv lock, diff check passed
  • pip-audit reported no known dependency vulnerabilities
  • independent review: no remaining findings

@Minorli
Minorli merged commit a96a5a4 into main Jul 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant