cycls 0.0.2.50__py3-none-any.whl → 0.0.2.52__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
@@ -62,7 +62,8 @@ class Agent:
62
62
  if len(self.registered_functions) > 1:
63
63
  print(f"⚠️ Warning: Multiple agents found. Running '{i['name']}'.")
64
64
 
65
- i["config"][1] = False
65
+ # i["config"][1] = False
66
+ i["config"][1] = prod
66
67
 
67
68
  copy={str(self.theme):"theme", str(CYCLS_PATH)+"/web.py":"web.py"}
68
69
  copy.update({i:i for i in self.copy})
@@ -72,7 +73,7 @@ class Agent:
72
73
  import uvicorn, logging
73
74
  # This one-liner hides the confusing "0.0.0.0" message
74
75
  logging.getLogger("uvicorn.error").addFilter(type("F",(),{"filter": lambda s,r: "0.0.0.0" not in r.getMessage()})())
75
- print(f"\n🔨 Visit {i["name"]} => http://localhost:{port}\n")
76
+ print(f"\n🔨 Visit {i['name']} => http://localhost:{port}\n")
76
77
  uvicorn.run(__import__("web").web(i["func"], *i["config"]), host="0.0.0.0", port=port)
77
78
 
78
79
  new = Runtime(
@@ -0,0 +1 @@
1
+ .cl-internal-p8bmz4{box-shadow:none!important;border:1px solid rgba(0,0,0,.1);box-shadow:0 1px 2px #0000000d}