Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit a7569bf

Browse files
authored
update init files (#298)
1 parent ce9e433 commit a7569bf

10 files changed

Lines changed: 4 additions & 4 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def revert():
7676
"Operating System :: OS Independent",
7777
],
7878
package_data={
79-
"taskweaver": ["**/*.yaml"],
79+
"taskweaver": ["**/*.yaml", "**/*.yml"],
8080
},
8181
entry_points={
8282
"console_scripts": ["taskweaver=taskweaver.__main__:main"],

taskweaver/ces/environment.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@ def start_session(
259259
)
260260

261261
tick = 0
262-
while tick < 10:
262+
while tick < 30:
263263
container.reload()
264264
if container.status == "running" and os.path.isfile(connection_file):
265265
logger.info("Container is running and connection file is ready.")
266266
break
267267
time.sleep(1) # wait for 1 second before checking again
268268
tick += 1
269-
if tick == 10:
270-
raise Exception("Container is not ready after 10 seconds")
269+
if tick == 30:
270+
raise Exception("Container is not ready after 30 seconds")
271271

272272
# save the ports to ces session dir
273273
port_bindings = container.attrs["NetworkSettings"]["Ports"]

taskweaver/ces/kernel/__init__.py

Whitespace-only changes.

taskweaver/ces/manager/__init__.py

Whitespace-only changes.

taskweaver/ces/runtime/__init__.py

Whitespace-only changes.

taskweaver/chat/__init__.py

Whitespace-only changes.

taskweaver/ext_role/echo/__init__.py

Whitespace-only changes.

taskweaver/ext_role/web_explorer/__init__.py

Whitespace-only changes.

taskweaver/ext_role/web_search/__init__.py

Whitespace-only changes.

taskweaver/module/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)