Skip to content

fix(hri): pass base64_audios for AI multimodal to_langchain - #847

Closed
Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/hri-ai-audios-base64
Closed

Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/hri-ai-audios-base64

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Image-only AI HRIMessage.to_langchain() failed because the AI branch set audios=base64_images instead of base64_audios, tripping MultimodalMessage's audio gate. Human branch already correct.

Tests cover images-only success and image+audio still unsupported until #370.

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

AI branch incorrectly re-used base64_images for the audios kwargs, so
image-only AI HRI messages raised MultimodalMessage's audio-not-supported
error. Mirror the human branch and cover images-only vs image+audio.

Signed-off-by: Bartok9 <danielrpike9@gmail.com>
@maciejmajek

Copy link
Copy Markdown
Member

Good find, this was a real one. Fix is in #872.

@maciejmajek maciejmajek closed this Sep 7, 2026
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.

2 participants