cycls 0.0.2.40__py3-none-any.whl → 0.0.2.42__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.
cycls/sdk.py CHANGED
@@ -47,7 +47,8 @@ class Agent:
47
47
  if len(self.registered_functions) > 1:
48
48
  print(f"⚠️ Warning: Multiple agents found. Running '{i['name']}'.")
49
49
  print(f"🚀 Starting local server at localhost:{port}")
50
- i["config"][0], i["config"][6] = self.theme, False
50
+ # i["config"][0], i["config"][6] = self.theme, False
51
+ i["config"][0] = self.theme
51
52
  uvicorn.run(web(i["func"], *i["config"]), host="0.0.0.0", port=port)
52
53
  return
53
54
 
@@ -63,7 +64,7 @@ class Agent:
63
64
  if len(self.registered_functions) > 1:
64
65
  print(f"⚠️ Warning: Multiple agents found. Running '{i['name']}'.")
65
66
 
66
- i["config"][6] = False
67
+ # i["config"][6] = False
67
68
 
68
69
  copy={str(self.theme):"public", str(cycls_path)+"/web.py":"web.py"}
69
70
  copy.update({i:i for i in self.copy})