fix: Log 'Observation' on new line (#4704)

This commit is contained in:
Tuana Çelik 2023-04-20 01:53:08 -06:00 committed by GitHub
parent 3d3b79986f
commit 63f24cb1f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ class Agent:
llm_prefix: Optional[str] = None,
**kwargs: Any,
) -> None:
print_text(observation_prefix) # type: ignore
print_text(f"\n{observation_prefix}") # type: ignore
print_text(tool_output, color=color)
print_text(f"\n{llm_prefix}")