cycls 0.0.2.49__py3-none-any.whl → 0.0.2.51__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/theme/index.html CHANGED
@@ -13,7 +13,8 @@
13
13
  rel="stylesheet"
14
14
  href="https://esm.sh/katex@0.16.8/dist/katex.min.css"
15
15
  />
16
- <script type="module" crossorigin src="/assets/index-CJ_4y8Hq.js"></script>
16
+ <script type="module" crossorigin src="/assets/index-DK37eWM7.js"></script>
17
+ <link rel="stylesheet" crossorigin href="/assets/index-CE4acW4J.css">
17
18
  </head>
18
19
  <body style="overflow-x: hidden">
19
20
  <div id="root"></div>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cycls
3
- Version: 0.0.2.49
3
+ Version: 0.0.2.51
4
4
  Summary: Cycls SDK
5
5
  Author: Mohammed J. AlRujayi
6
6
  Author-email: mj@cycls.com
@@ -91,20 +91,19 @@ This will start a local server. Open your browser to http://localhost:8080 to in
91
91
  This example creates a more advanced agent that calls the OpenAI API. It will be deployed to the cloud with authentication enabled.
92
92
 
93
93
  ```py
94
- # deploy.py
95
94
  import cycls
96
95
 
97
96
  # Initialize the agent with dependencies and API keys
98
97
  agent = cycls.Agent(
99
98
  pip=["openai"],
100
- key=["YOUR_CYCLS_KEY"] # Get yours from cycls.com
99
+ key="YOUR_CYCLS_KEY" # Get yours from https://cycls.com
101
100
  )
102
101
 
103
102
  # A helper function to call the LLM
104
103
  async def llm(messages):
105
104
  # Import inside the function: 'openai' is needed at runtime in the container.
106
105
  import openai
107
- client = openai.AsyncOpenAI(api_key="sk-...") # Your OpenAI key
106
+ client = openai.AsyncOpenAI(api_key="YOUR_OPENAI_API_KEY")
108
107
  model = "gpt-4o"
109
108
  response = await client.chat.completions.create(
110
109
  model=model,
@@ -0,0 +1,10 @@
1
+ cycls/__init__.py,sha256=bVT0dYTXLdSC3ZURgtm-DEOj-VO6RUM6zGsJB0zuj6Y,61
2
+ cycls/runtime.py,sha256=hLBtwtGz0FCW1-EPCJy6kMdF2fB3i6Df_H8-bm7qeK0,18223
3
+ cycls/sdk.py,sha256=oXHb4ZDVQ6KFCodN_TfmB7dG_7BDzNhc_gSjbvDCshA,5869
4
+ cycls/theme/assets/index-CE4acW4J.css,sha256=yN0rMoDcVYJ043rHIgaxF7cierHER6ivIrrWnFCopB4,110
5
+ cycls/theme/assets/index-DK37eWM7.js,sha256=pRHnyd8ewPbfpCrSE5zndG3YQ4YTW1t_ORdEI21ky7U,1138629
6
+ cycls/theme/index.html,sha256=c4IX-5NB8HjYy0_sXIoP6dYVoHgp-Zlbjhym9OhtkAM,738
7
+ cycls/web.py,sha256=oc1a-Z3dFy4Ub7u0wF5_wrsvoosT3NgrOw4iWJ5KFns,4979
8
+ cycls-0.0.2.51.dist-info/METADATA,sha256=dlmdVQbACMiH0M1nYUozIQe6xaBI4lk1bUDw4C6FSt8,4800
9
+ cycls-0.0.2.51.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
10
+ cycls-0.0.2.51.dist-info/RECORD,,