fix: typo: saved the world "BaseMessge" to "BaseMessage" (#6639)

Changed "BaseMessge" to "BaseMessage" in test comments.

This critical 2-character fix prevents mass confusion among developers
who might have spent milliseconds wondering what a "Messge" is.

The world is now a safer place.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Efe Çelik
2025-12-31 03:58:57 +00:00
committed by GitHub
co-authored by Claude Opus 4.5
parent eec823cbd6
commit 0acd5decf8
+2 -2
View File
@@ -3038,7 +3038,7 @@ def test_message_graph(
# add an extra message as if it came from "tools" node
app_w_interrupt.update_state(config, ("ai", "an extra message"), as_node="tools")
# extra message is coerced BaseMessge and appended
# extra message is coerced BaseMessage and appended
# now the next node is "agent" per the graph edges
assert app_w_interrupt.get_state(config) == StateSnapshot(
values=[
@@ -3762,7 +3762,7 @@ def test_root_graph(
# add an extra message as if it came from "tools" node
app_w_interrupt.update_state(config, ("ai", "an extra message"), as_node="tools")
# extra message is coerced BaseMessge and appended
# extra message is coerced BaseMessage and appended
# now the next node is "agent" per the graph edges
assert app_w_interrupt.get_state(config) == StateSnapshot(
values=[