zeroclaw/tests
Aleksandr Prilipko 01d6002d41 fix(channel): use [IMAGE:] marker for photo attachments, add e2e vision tests
Photos now use [IMAGE:/path] format instead of [Photo] /path, so the
existing multimodal pipeline validates vision capability and rejects
unsupported providers (Groq, OpenAI-compatible) with a user-facing
error before calling the LLM.

Tests added (all offline, no API keys required):
- attachment_photo_content_uses_image_marker
- attachment_document_content_uses_document_label
- photo_image_marker_detected_by_multimodal
- photo_image_marker_with_caption
- e2e_attachment_saves_file_and_formats_content
- groq_provider_rejects_photo_with_vision_error
- e2e_photo_attachment_rejected_by_non_vision_provider

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 12:57:32 +08:00
..
fixtures fix(channel): use [IMAGE:] marker for photo attachments, add e2e vision tests 2026-02-21 12:57:32 +08:00
agent_e2e.rs fix: add usage field to ChatResponse constructors added upstream 2026-02-21 12:29:02 +08:00
agent_loop_robustness.rs fix: add usage field to ChatResponse constructors added upstream 2026-02-21 12:29:02 +08:00
channel_routing.rs fix(channels): interrupt in-flight telegram requests on newer sender messages 2026-02-20 01:54:07 +08:00
config_persistence.rs fix(channels): interrupt in-flight telegram requests on newer sender messages 2026-02-20 01:54:07 +08:00
dockerignore_test.rs chore: Remove blocking read strings 2026-02-19 14:52:29 +08:00
memory_comparison.rs feat(memory): add session_id isolation to Memory trait (#530) 2026-02-17 07:44:05 -05:00
memory_restart.rs fix(channels): interrupt in-flight telegram requests on newer sender messages 2026-02-20 01:54:07 +08:00
otel_dependency_feature_regression.rs fix(observability): prevent otel reactor panic in non-tokio contexts 2026-02-20 16:07:50 +08:00
provider_resolution.rs test: add systematic test coverage for 7 bug pattern groups (#852) 2026-02-18 15:28:34 -08:00
provider_schema.rs fix: add usage field to ChatResponse constructors added upstream 2026-02-21 12:29:02 +08:00
reply_target_field_regression.rs fix(channels): enforce reply_target naming consistency 2026-02-18 19:56:31 +08:00
telegram_attachment_fallback.rs fix(telegram): fall back to text link when media-by-URL fails 2026-02-21 12:34:33 +08:00
whatsapp_webhook_security.rs fix(memory): prevent autosave key collisions across runtime flows 2026-02-15 22:55:52 -05:00