Skip to content

Omit empty agency-report reply markup#260

Merged
MagMueller merged 1 commit into
mainfrom
omit-empty-agency-report-markup
May 20, 2026
Merged

Omit empty agency-report reply markup#260
MagMueller merged 1 commit into
mainfrom
omit-empty-agency-report-markup

Conversation

@MagMueller
Copy link
Copy Markdown
Contributor

@MagMueller MagMueller commented May 20, 2026

Summary

  • Only include reply_markup on sendPhoto requests when agency-report actually has buttons
  • Avoid sending an empty/null multipart reply_markup field for image cards

Tests

  • python3 -m py_compile agent/agency-report

Summary by cubic

Only include reply_markup in sendPhoto requests when agency-report has buttons. This avoids sending empty/null multipart fields for image cards and reduces request noise.

Written for commit 8dfd7f2. Summary will update on new commits. Review in cubic

@MagMueller MagMueller merged commit 68835c2 into main May 20, 2026
7 checks passed
@MagMueller MagMueller deleted the omit-empty-agency-report-markup branch May 20, 2026 15:16
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

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