memory
Sashin 1 year ago
parent a0a0128923
commit 497d66acf2

@ -32,7 +32,7 @@ from swarms.utils.pdf_to_text import pdf_to_text
# Custom stopping condition # Custom stopping condition
def stop_when_repeats(response: str) -> bool: def stop_when_repeats(response: str) -> bool:
# Stop if the word stop appears in the response # 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: def parse_done_token(response: str) -> bool:
@ -394,6 +394,7 @@ class Agent:
Interactive: {self.interactive} Interactive: {self.interactive}
Dashboard: {self.dashboard} Dashboard: {self.dashboard}
Dynamic Temperature: {self.dynamic_temperature_enabled} Dynamic Temperature: {self.dynamic_temperature_enabled}
Temperature: {self.llm.model_kwargs.get('temperature')}
Autosave: {self.autosave} Autosave: {self.autosave}
Saved State: {self.saved_state_path} Saved State: {self.saved_state_path}
Model Configuration: {model_config} Model Configuration: {model_config}

Loading…
Cancel
Save