[PR #44] fix: replace HumanMessage with AIMessage for scenario_message in image_node #46

Open
opened 2026-03-03 16:41:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/neural-maze/ava-whatsapp-agent-course/pull/44
Author: @TensorCruncher
Created: 12/9/2025
Status: 🔄 Open

Base: mainHead: patch-1


📝 Commits (1)

  • b7776a4 fix: replace HumanMessage with AIMessage for scenario_message in image_node

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/ai_companion/graph/nodes.py (+1 -1)

📄 Description

The image node was incorrectly injecting the scenario_message as a HumanMessage.

This PR updates it to AIMessage, which matches the intended behaviour as mentioned in the comment above it in line 66.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/neural-maze/ava-whatsapp-agent-course/pull/44 **Author:** [@TensorCruncher](https://github.com/TensorCruncher) **Created:** 12/9/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`b7776a4`](https://github.com/neural-maze/ava-whatsapp-agent-course/commit/b7776a41e22ec927a3adc22115322c81cf75dc54) fix: replace HumanMessage with AIMessage for scenario_message in image_node ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/ai_companion/graph/nodes.py` (+1 -1) </details> ### 📄 Description The image node was incorrectly injecting the scenario_message as a HumanMessage. This PR updates it to AIMessage, which matches the intended behaviour as mentioned in the comment above it in line 66. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ava-whatsapp-agent-course#46
No description provided.