intentkit 0.6.30.dev1__py3-none-any.whl → 0.6.32.dev1__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 +1 -0
- intentkit/core/prompt.py +5 -2
- {intentkit-0.6.30.dev1.dist-info → intentkit-0.6.32.dev1.dist-info}/METADATA +1 -1
- {intentkit-0.6.30.dev1.dist-info → intentkit-0.6.32.dev1.dist-info}/RECORD +7 -7
- {intentkit-0.6.30.dev1.dist-info → intentkit-0.6.32.dev1.dist-info}/WHEEL +0 -0
- {intentkit-0.6.30.dev1.dist-info → intentkit-0.6.32.dev1.dist-info}/licenses/LICENSE +0 -0
intentkit/__init__.py
CHANGED
intentkit/config/config.py
CHANGED
|
@@ -98,6 +98,7 @@ class Config:
|
|
|
98
98
|
self.venice_api_key = self.load("VENICE_API_KEY")
|
|
99
99
|
# LLM Config
|
|
100
100
|
self.system_prompt = self.load("SYSTEM_PROMPT")
|
|
101
|
+
self.intentkit_prompt = self.load("INTENTKIT_PROMPT")
|
|
101
102
|
self.input_token_limit = self.load_int("INPUT_TOKEN_LIMIT", 60000)
|
|
102
103
|
# XMTP
|
|
103
104
|
self.xmtp_system_prompt = self.load(
|
intentkit/core/prompt.py
CHANGED
|
@@ -18,7 +18,7 @@ from intentkit.models.skill import Skill
|
|
|
18
18
|
# ============================================================================
|
|
19
19
|
|
|
20
20
|
# Base system prompt components
|
|
21
|
-
|
|
21
|
+
INTENTKIT_PROMPT = """You are an AI agent built using IntentKit.
|
|
22
22
|
Your tools are called 'skills'.
|
|
23
23
|
If your skill fails to execute due to a technical error ask the user to try again later, don't retry by yourself. If someone asks you to do something you can't do with your currently available skills, you must say so, recommend them to submit their feedback to the IntentKit team at https://github.com/crestalnetwork/intentkit. Be concise and helpful with your responses."""
|
|
24
24
|
|
|
@@ -45,7 +45,10 @@ def _build_system_header() -> str:
|
|
|
45
45
|
prompt = "# SYSTEM PROMPT\n\n"
|
|
46
46
|
if config.system_prompt:
|
|
47
47
|
prompt += config.system_prompt + "\n\n"
|
|
48
|
-
|
|
48
|
+
if config.intentkit_prompt:
|
|
49
|
+
prompt += config.intentkit_prompt + "\n\n"
|
|
50
|
+
else:
|
|
51
|
+
prompt += INTENTKIT_PROMPT + "\n\n"
|
|
49
52
|
return prompt
|
|
50
53
|
|
|
51
54
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: intentkit
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.32.dev1
|
|
4
4
|
Summary: Intent-based AI Agent Platform - Core Package
|
|
5
5
|
Project-URL: Homepage, https://github.com/crestalnetwork/intentkit
|
|
6
6
|
Project-URL: Repository, https://github.com/crestalnetwork/intentkit
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
intentkit/__init__.py,sha256=
|
|
1
|
+
intentkit/__init__.py,sha256=1nFGkH4sfsCLWtakOz2FOtTcI51vTURKuoe0t8AEnfo,384
|
|
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/cdp.py,sha256=_A0QRRi6uPYr_AL26arW-Yofez0JcrEQdfxGCVgC7kM,7038
|
|
|
11
11
|
intentkit/clients/twitter.py,sha256=Lfa7srHOFnY96SXcElW0jfg7XKS_WliWnXjPZEe6SQc,18976
|
|
12
12
|
intentkit/clients/web3.py,sha256=A-w4vBPXHpDh8svsEFj_LkmvRgoDTZw4E-84S-UC9ws,1023
|
|
13
13
|
intentkit/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
intentkit/config/config.py,sha256=
|
|
14
|
+
intentkit/config/config.py,sha256=xDbm5KSXt4rZh2Nak0bmrYv5Rf__mJz8aJ9PHzar-Lk,8941
|
|
15
15
|
intentkit/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
intentkit/core/agent.py,sha256=GIKDn1dTenIHWMRxe-ud7hd1cQaHzbTDdypy5IAgPfU,16658
|
|
17
17
|
intentkit/core/api.py,sha256=WfoaHNquujYJIpNPuTR1dSaaxog0S3X2W4lG9Ehmkm4,3284
|
|
@@ -20,7 +20,7 @@ intentkit/core/client.py,sha256=J5K7f08-ucszBKAbn9K3QNOFKIC__7amTbKYii1jFkI,3056
|
|
|
20
20
|
intentkit/core/credit.py,sha256=1aKT3hNLCvcQYjNckMxBsUpdtc4RH_KZQPAfzpOs-DU,69552
|
|
21
21
|
intentkit/core/engine.py,sha256=H4ew1jhn2coMYJ3zR9isM1Y-XbnXNMg91SeDoeXdQ4U,36562
|
|
22
22
|
intentkit/core/node.py,sha256=7h9zgDSd928bzUi3m3EZnKkhbwqlbRAQUr_uz7gKB5Y,8880
|
|
23
|
-
intentkit/core/prompt.py,sha256=
|
|
23
|
+
intentkit/core/prompt.py,sha256=clZmH9Ryn7cUwi6lQADEH9-AupT4V4NLMaUCzOoFHS4,15899
|
|
24
24
|
intentkit/core/skill.py,sha256=vPK37sDRT9kzkMBymPwqZ5uEdxTTRtb_DfREIeyz-Xw,5788
|
|
25
25
|
intentkit/models/agent.py,sha256=uC5AErdVucaEajKCXAcF6C3VwYRVIhXTIfOBp-n-Xhg,66310
|
|
26
26
|
intentkit/models/agent_data.py,sha256=mVsiK8TziYa1W1ujU1KwI9osIVIeSM7XJEogGRL1WVU,28263
|
|
@@ -418,7 +418,7 @@ intentkit/utils/random.py,sha256=DymMxu9g0kuQLgJUqalvgksnIeLdS-v0aRk5nQU0mLI,452
|
|
|
418
418
|
intentkit/utils/s3.py,sha256=9trQNkKQ5VgxWsewVsV8Y0q_pXzGRvsCYP8xauyUYkg,8549
|
|
419
419
|
intentkit/utils/slack_alert.py,sha256=s7UpRgyzLW7Pbmt8cKzTJgMA9bm4EP-1rQ5KXayHu6E,2264
|
|
420
420
|
intentkit/utils/tx.py,sha256=2yLLGuhvfBEY5n_GJ8wmIWLCzn0FsYKv5kRNzw_sLUI,1454
|
|
421
|
-
intentkit-0.6.
|
|
422
|
-
intentkit-0.6.
|
|
423
|
-
intentkit-0.6.
|
|
424
|
-
intentkit-0.6.
|
|
421
|
+
intentkit-0.6.32.dev1.dist-info/METADATA,sha256=tby8owF8JDy3FAGZAwyYW2eA14ExKnZPwTtiDh_aZC0,6410
|
|
422
|
+
intentkit-0.6.32.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
423
|
+
intentkit-0.6.32.dev1.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
|
|
424
|
+
intentkit-0.6.32.dev1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|