mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-06 17:57:49 +02:00
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:
co-authored by
Claude Opus 4.5
parent
eec823cbd6
commit
0acd5decf8
@@ -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=[
|
||||
|
||||
Reference in New Issue
Block a user