From 8ba0023746cbb667bbb7198d5a8310b9430f4a00 Mon Sep 17 00:00:00 2001 From: josh-ashkinaze Date: Thu, 5 Sep 2024 21:05:51 +0000 Subject: [PATCH] deploy: e18901c9b9e1a47555e96fdfd959d104b0c6911c --- _modules/plurals/agent.html | 4 ++-- _modules/plurals/deliberation.html | 4 ++-- _modules/plurals/helpers.html | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/_modules/plurals/agent.html b/_modules/plurals/agent.html index 34939af..d3bcc69 100644 --- a/_modules/plurals/agent.html +++ b/_modules/plurals/agent.html @@ -81,7 +81,7 @@

Source code for plurals.agent

 
 from plurals.helpers import *
 
-from pprint import pprint
+from pprint import pformat
 
 DEFAULTS = load_yaml("instructions.yaml")
 DEFAULTS = strip_nested_dict(DEFAULTS)
@@ -653,7 +653,7 @@ 

Source code for plurals.agent

         return [history[i]['prompts'] for i in range(len(history))]
 
     def __repr__(self):
-        return pprint(self.info)
+        return pformat(self.info, indent=2)
 
 
[docs] diff --git a/_modules/plurals/deliberation.html b/_modules/plurals/deliberation.html index 2e2ac72..00c4184 100644 --- a/_modules/plurals/deliberation.html +++ b/_modules/plurals/deliberation.html @@ -83,7 +83,7 @@

Source code for plurals.deliberation

 from plurals.helpers import SmartString, strip_nested_dict
 import re
 import collections
-from pprint import pprint
+from pprint import pformat
 
 DEFAULTS = load_yaml("instructions.yaml")
 DEFAULTS = strip_nested_dict(DEFAULTS)
@@ -536,7 +536,7 @@ 

Source code for plurals.deliberation

 
 
     def __repr__(self):
-        return pprint(self.info)
+ return pformat(self.info, indent=2)
diff --git a/_modules/plurals/helpers.html b/_modules/plurals/helpers.html index 89cf12e..a95e83f 100644 --- a/_modules/plurals/helpers.html +++ b/_modules/plurals/helpers.html @@ -124,7 +124,6 @@

Source code for plurals.helpers

         print()
-
[docs] def strip_nested_dict(d: Dict[str, Any]) -> Dict[str, Any]: