Skip to content

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

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

fix(hri): pass base64_audios for AI multimodal to_langchain#847
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

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>
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