intentkit 0.6.0.dev10__py3-none-any.whl → 0.6.0.dev11__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.
Potentially problematic release.
This version of intentkit might be problematic. Click here for more details.
- intentkit/__init__.py +1 -1
- intentkit/config/config.py +6 -1
- {intentkit-0.6.0.dev10.dist-info → intentkit-0.6.0.dev11.dist-info}/METADATA +1 -1
- {intentkit-0.6.0.dev10.dist-info → intentkit-0.6.0.dev11.dist-info}/RECORD +6 -6
- {intentkit-0.6.0.dev10.dist-info → intentkit-0.6.0.dev11.dist-info}/WHEEL +0 -0
- {intentkit-0.6.0.dev10.dist-info → intentkit-0.6.0.dev11.dist-info}/licenses/LICENSE +0 -0
intentkit/__init__.py
CHANGED
intentkit/config/config.py
CHANGED
|
@@ -160,7 +160,12 @@ class Config:
|
|
|
160
160
|
|
|
161
161
|
def load(self, key, default=None):
|
|
162
162
|
"""Load a secret from the secrets map or env"""
|
|
163
|
-
|
|
163
|
+
value = self.secrets.get(key, os.getenv(key, default))
|
|
164
|
+
if value:
|
|
165
|
+
value = value.replace("\\n", "\n")
|
|
166
|
+
if value and value.startswith("'") and value.endswith("'"):
|
|
167
|
+
value = value[1:-1]
|
|
168
|
+
return value
|
|
164
169
|
|
|
165
170
|
|
|
166
171
|
config: Config = Config()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: intentkit
|
|
3
|
-
Version: 0.6.0.
|
|
3
|
+
Version: 0.6.0.dev11
|
|
4
4
|
Summary: Intent-based AI Agent Platform - Core Package
|
|
5
5
|
Project-URL: Homepage, https://github.com/crestal-network/intentkit
|
|
6
6
|
Project-URL: Repository, https://github.com/crestal-network/intentkit
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
intentkit/__init__.py,sha256=
|
|
1
|
+
intentkit/__init__.py,sha256=ocMohkspIwMPfLvDLTEEblprk6kxb8zfmxqcpsvAJXY,385
|
|
2
2
|
intentkit/abstracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
intentkit/abstracts/agent.py,sha256=108gb5W8Q1Sy4G55F2_ZFv2-_CnY76qrBtpIr0Oxxqk,1489
|
|
4
4
|
intentkit/abstracts/api.py,sha256=ZUc24vaQvQVbbjznx7bV0lbbQxdQPfEV8ZxM2R6wZWo,166
|
|
@@ -11,7 +11,7 @@ intentkit/clients/__init__.py,sha256=sQ_6_bRC2MPWLPH-skQ3qsEe8ce-dUGL7i8VJOautHg
|
|
|
11
11
|
intentkit/clients/cdp.py,sha256=9iK5t-zSITIWS-bdv1ymF-86FeblAh9QI9GjNP2Mg5Y,3783
|
|
12
12
|
intentkit/clients/twitter.py,sha256=JAc-skIhZZjAFcwzLSTiOPOonteGjrl_JwXoA8IVBmI,16934
|
|
13
13
|
intentkit/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
intentkit/config/config.py,sha256=
|
|
14
|
+
intentkit/config/config.py,sha256=q601dwkcEmD0DC24Rbmmp66KHRzp5m3wbBwN7DshaQc,7389
|
|
15
15
|
intentkit/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
intentkit/core/agent.py,sha256=PTHsFV_EbsfPUcTI0ErkebWurjxVykP9ISbNUsqV44Q,7764
|
|
17
17
|
intentkit/core/api.py,sha256=3GIMJpwduLUSbVPNW6mQVxZncYHH3OlLwdiqFtYtEAE,1208
|
|
@@ -362,7 +362,7 @@ intentkit/utils/random.py,sha256=DymMxu9g0kuQLgJUqalvgksnIeLdS-v0aRk5nQU0mLI,452
|
|
|
362
362
|
intentkit/utils/s3.py,sha256=9trQNkKQ5VgxWsewVsV8Y0q_pXzGRvsCYP8xauyUYkg,8549
|
|
363
363
|
intentkit/utils/slack_alert.py,sha256=s7UpRgyzLW7Pbmt8cKzTJgMA9bm4EP-1rQ5KXayHu6E,2264
|
|
364
364
|
intentkit/utils/tx.py,sha256=2yLLGuhvfBEY5n_GJ8wmIWLCzn0FsYKv5kRNzw_sLUI,1454
|
|
365
|
-
intentkit-0.6.0.
|
|
366
|
-
intentkit-0.6.0.
|
|
367
|
-
intentkit-0.6.0.
|
|
368
|
-
intentkit-0.6.0.
|
|
365
|
+
intentkit-0.6.0.dev11.dist-info/METADATA,sha256=Xl2J9CcvUf2ur5LdCGYdk2zRNZVFye_70l3ZgN6uJlo,7286
|
|
366
|
+
intentkit-0.6.0.dev11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
367
|
+
intentkit-0.6.0.dev11.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
|
|
368
|
+
intentkit-0.6.0.dev11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|