From 9977501480ce1101d86b5f6fb396e7aaafb0be29 Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Wed, 15 May 2024 20:05:39 -0700 Subject: [PATCH] Cleanup spacing in docstring (#470) --- langgraph/prebuilt/tool_validator.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/langgraph/prebuilt/tool_validator.py b/langgraph/prebuilt/tool_validator.py index 9172fd7ea..5f54398f4 100644 --- a/langgraph/prebuilt/tool_validator.py +++ b/langgraph/prebuilt/tool_validator.py @@ -128,7 +128,6 @@ class ValidationNode(RunnableCallable): ================================ Human Message ================================= Select a number, any number ================================== Ai Message ================================== - \n [{'id': 'toolu_01JSjT9Pq8hGmTgmMPc6KnvM', 'input': {'a': 42}, 'name': 'SelectNumber', 'type': 'tool_use'}] Tool Calls: SelectNumber (toolu_01JSjT9Pq8hGmTgmMPc6KnvM) @@ -137,12 +136,9 @@ class ValidationNode(RunnableCallable): a: 42 ================================= Tool Message ================================= Name: SelectNumber - \n ValidationError(model='SelectNumber', errors=[{'loc': ('a',), 'msg': 'Only 37 is allowed', 'type': 'value_error'}]) - \n Respond after fixing all validation errors. ================================== Ai Message ================================== - \n [{'id': 'toolu_01PkxSVxNxc5wqwCPW1FiSmV', 'input': {'a': 37}, 'name': 'SelectNumber', 'type': 'tool_use'}] Tool Calls: SelectNumber (toolu_01PkxSVxNxc5wqwCPW1FiSmV) @@ -151,7 +147,6 @@ class ValidationNode(RunnableCallable): a: 37 ================================= Tool Message ================================= Name: SelectNumber - \n {"a": 37} """