Skip to content

v 0.2.6 - #388

Merged
Hectorfr merged 18 commits into
mainfrom
development
Nov 23, 2026
Merged

Hectorfr merged 18 commits into
mainfrom
development

Conversation

@Hectorfr

Copy link
Copy Markdown
Collaborator

version 0.2.6 batch

joelmaharena and others added 18 commits October 1, 2026 18:00
Keep both the model-fallback and vision blocks in the env templates,
and restore the blank line black expects in logging_utils.
A text sent while a photo was being read took the agent turn first and
was answered against the previous photo. The agent now accepts a
`prepare` step that runs while holding the turn, so texts arriving
meanwhile wait and are answered together with the interpreted photo.

- A failed photo is dropped from the batch; waiting texts are still
  answered, after the image error is sent.
- A photo arriving during another turn is read before it is buffered,
  so the running turn never answers it unread.
- Add MessageProcessor.remove (identity match) and PreparationFailed.
A failed photo kept its "Image not yet interpreted." placeholder in the
conversation, so the agent later said it still could not see the image.
On any image error the row is now marked "[photo could not be read]" and
left out of the agent's history; it stays in the database for audit.

Generalise db.update_message_content into update_message, which updates
only the given fields and keeps the owner guard and single-row check.
_cleanup_processor ran inside the locked block, so the lock was always
held and no processor was ever removed: one stayed in memory per user
until restart. Run the cleanup after the lock is released.
Keep the mock-aware WhatsAppClient init from development and add
api_version for media downloads.
Stack the audio PR on the image PR so they merge into development one
after another without conflicts. Resolved like release/0.2.6: keep both
download_image and download_media, accept image and audio messages, and
keep development's help text.
Unknown numbers, in-review and approved users never have their message
text read, so downloading and transcribing their voice notes wasted a
paid call. Transcribe only for onboarding, active and inactive users;
others get the unsupported-message marker like any non-text message.

Move the download and transcription into _transcribe_audio so the gate
stays readable.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@Hectorfr
Hectorfr merged commit 65f2bd1 into main Nov 23, 2026
9 checks 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.

4 participants