From 497d66acf27f8e0a6d1aa805660240d26d0e19f3 Mon Sep 17 00:00:00 2001 From: Sashin Date: Sat, 2 Dec 2023 00:41:26 +0200 Subject: [PATCH] Added temp --- swarms/structs/agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarms/structs/agent.py b/swarms/structs/agent.py index fe62dc20..f85be6bb 100644 --- a/swarms/structs/agent.py +++ b/swarms/structs/agent.py @@ -32,7 +32,7 @@ from swarms.utils.pdf_to_text import pdf_to_text # Custom stopping condition def stop_when_repeats(response: str) -> bool: # Stop if the word stop appears in the response - return "Stop" in response.lower() + return "stop" in response.lower() def parse_done_token(response: str) -> bool: @@ -394,6 +394,7 @@ class Agent: Interactive: {self.interactive} Dashboard: {self.dashboard} Dynamic Temperature: {self.dynamic_temperature_enabled} + Temperature: {self.llm.model_kwargs.get('temperature')} Autosave: {self.autosave} Saved State: {self.saved_state_path} Model Configuration: {model_config}