beswarm 0.2.12__py3-none-any.whl → 0.2.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- beswarm/tools/worker.py +2 -2
- {beswarm-0.2.12.dist-info → beswarm-0.2.13.dist-info}/METADATA +1 -1
- {beswarm-0.2.12.dist-info → beswarm-0.2.13.dist-info}/RECORD +5 -5
- {beswarm-0.2.12.dist-info → beswarm-0.2.13.dist-info}/WHEEL +0 -0
- {beswarm-0.2.12.dist-info → beswarm-0.2.13.dist-info}/top_level.txt +0 -0
beswarm/tools/worker.py
CHANGED
@@ -35,7 +35,7 @@ async def worker(goal, tools, work_dir, cache_messages=None):
|
|
35
35
|
DEBUG = os.getenv("DEBUG", "false").lower() in ("true", "1", "t", "yes")
|
36
36
|
if DEBUG:
|
37
37
|
import sys
|
38
|
-
log_file = open(Path(work_dir) / ".beswarm" / "history.log", "a")
|
38
|
+
log_file = open(Path(work_dir) / ".beswarm" / "history.log", "a", encoding="utf-8")
|
39
39
|
log_file.write(f"========== {datetime.now().strftime('%Y-%m-%d %H:%M:%S')} ==========\n")
|
40
40
|
sys.stdout = log_file
|
41
41
|
sys.stderr = log_file
|
@@ -236,7 +236,7 @@ async def worker_gen(goal, tools, work_dir, cache_messages=None):
|
|
236
236
|
DEBUG = os.getenv("DEBUG", "false").lower() in ("true", "1", "t", "yes")
|
237
237
|
if DEBUG:
|
238
238
|
import sys
|
239
|
-
log_file = open(Path(work_dir) / ".beswarm" / "history.log", "a")
|
239
|
+
log_file = open(Path(work_dir) / ".beswarm" / "history.log", "a", encoding="utf-8")
|
240
240
|
log_file.write(f"========== {datetime.now().strftime('%Y-%m-%d %H:%M:%S')} ==========\n")
|
241
241
|
sys.stdout = log_file
|
242
242
|
sys.stderr = log_file
|
@@ -134,8 +134,8 @@ beswarm/tools/request_input.py,sha256=gXNAJPOJektMqxJVyzNTFOeMQ7xUkO-wWMYH-r2Rdw
|
|
134
134
|
beswarm/tools/screenshot.py,sha256=u6t8FCgW5YHJ_Oc4coo8e0F3wTusWE_-H8dFh1rBq9Q,1011
|
135
135
|
beswarm/tools/search_arxiv.py,sha256=GpuIOYX8T0iRC-X-hmuR9AUJVn15WWZq864DaoC7BUc,8004
|
136
136
|
beswarm/tools/search_web.py,sha256=w0T0aCqOVlb6Of5hn_TtpnrGXo6bMtw2aKZdkrYjycI,12069
|
137
|
-
beswarm/tools/worker.py,sha256=
|
138
|
-
beswarm-0.2.
|
139
|
-
beswarm-0.2.
|
140
|
-
beswarm-0.2.
|
141
|
-
beswarm-0.2.
|
137
|
+
beswarm/tools/worker.py,sha256=Lahfv7XkayjdxtzsK3jSjhfVHHjkOhubR3gJhHBq6Mc,23035
|
138
|
+
beswarm-0.2.13.dist-info/METADATA,sha256=QV1OaMpF4nCTEIcl5eRJ2dD1GJCd27rUJru-eGGeklg,3847
|
139
|
+
beswarm-0.2.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
140
|
+
beswarm-0.2.13.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
|
141
|
+
beswarm-0.2.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|