intentkit 0.8.13.dev3__py3-none-any.whl → 0.8.14.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  A powerful platform for building AI agents with blockchain and cryptocurrency capabilities.
4
4
  """
5
5
 
6
- __version__ = "0.8.13-dev3"
6
+ __version__ = "0.8.14-dev1"
7
7
  __author__ = "hyacinthus"
8
8
  __email__ = "hyacinthus@gmail.com"
9
9
 
intentkit/models/agent.py CHANGED
@@ -1141,8 +1141,11 @@ class Agent(AgentCreate, AgentPublicInfo):
1141
1141
  return False
1142
1142
 
1143
1143
  async def is_model_support_image(self) -> bool:
1144
- model = await LLMModelInfo.get(self.model)
1145
- return model.supports_image_input
1144
+ try:
1145
+ model = await LLMModelInfo.get(self.model)
1146
+ return model.supports_image_input
1147
+ except Exception:
1148
+ return False
1146
1149
 
1147
1150
  def to_yaml(self) -> str:
1148
1151
  """
intentkit/models/llm.py CHANGED
@@ -12,7 +12,7 @@ from intentkit.models.app_setting import AppSetting
12
12
  from intentkit.models.base import Base
13
13
  from intentkit.models.db import get_session
14
14
  from intentkit.models.redis import get_redis
15
- from intentkit.utils.error import IntentKitLookUpError
15
+ from intentkit.utils.error import IntentKitAPIError
16
16
  from langchain.chat_models.base import BaseChatModel
17
17
  from pydantic import BaseModel, ConfigDict, Field
18
18
  from sqlalchemy import Boolean, Column, DateTime, Integer, Numeric, String, func, select
@@ -282,7 +282,11 @@ class LLMModelInfo(BaseModel):
282
282
  return model_info
283
283
 
284
284
  # Not found anywhere
285
- raise IntentKitLookUpError(f"Model {model_id} not found")
285
+ raise IntentKitAPIError(
286
+ 400,
287
+ "ModelNotFound",
288
+ f"Model {model_id} not found, maybe deprecated, please change it in the agent configuration.",
289
+ )
286
290
 
287
291
  @classmethod
288
292
  async def get_all(cls, session: AsyncSession | None = None) -> list["LLMModelInfo"]:
@@ -3,7 +3,7 @@
3
3
  "type": "object",
4
4
  "title": "x402",
5
5
  "description": "Interact with other IntentKit agents through the x402 payment protocol.",
6
- "x-icon": "https://ai.service.crestal.dev/skills/x402/x402.png",
6
+ "x-icon": "https://ai.service.crestal.dev/skills/x402/x402.webp",
7
7
  "x-tags": [
8
8
  "Communication",
9
9
  "Infrastructure"
@@ -37,4 +37,4 @@
37
37
  }
38
38
  }
39
39
  }
40
- }
40
+ }
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: intentkit
3
- Version: 0.8.13.dev3
3
+ Version: 0.8.14.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=aed72E3E1e647h-JvVmtVM1Jq4PY6LGQuaG_P0_MINo,384
1
+ intentkit/__init__.py,sha256=ibEVhLac4lUSeBL7gFZ-zEhyDF6IOPcDLRPMKZH4Gqk,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
@@ -24,7 +24,7 @@ intentkit/core/node.py,sha256=-QVgmQuMnrzo6cF-4AECOIVT3R4gCnWfQ1EjTm2Sz1g,8791
24
24
  intentkit/core/prompt.py,sha256=cf33qLpGozRc_aPdbnI_pDFREivSUhvUB9VboOKscXA,17212
25
25
  intentkit/core/scheduler.py,sha256=XK-VVGkUk1PSjiFc5va2T134cmzMYHH_eIzInLzjv8c,2929
26
26
  intentkit/core/statistics.py,sha256=-IZmxIBzyzZuai7QyfPEY1tx8Q8ydmmcm6eqbSSy_6o,6366
27
- intentkit/models/agent.py,sha256=DRIdPVngXgITObUnRjrJGLr5W_7b7ZRg8eqPFsChyKY,70084
27
+ intentkit/models/agent.py,sha256=L1RN5UqmvfEcfaCkwALxgwfqx2gHOx0qvG5cKH_M-34,70156
28
28
  intentkit/models/agent_data.py,sha256=5zq3EPKnygT2P1OHc2IfEmL8hXkjeBND6sJ0JJsvQJg,28370
29
29
  intentkit/models/agent_public.json,sha256=0X8Bd2WOobDJLsok8avWNzmzu4uvKSGEyy6Myn53eT4,2802
30
30
  intentkit/models/agent_schema.json,sha256=_-oviPLPCdveQ3H4wTuoxC2PF5tOhFXuG7BUsmhUJG8,11829
@@ -37,7 +37,7 @@ intentkit/models/db.py,sha256=1uX1DJZGMx9A3lq6WKSTSwpXhWgWaiki55-iiED8BYM,5082
37
37
  intentkit/models/db_mig.py,sha256=vT6Tanm-BHC2T7dTztuB1UG494EFBAlHADKsNzR6xaQ,3577
38
38
  intentkit/models/generator.py,sha256=lyZu9U9rZUGkqd_QT5SAhay9DY358JJY8EhDSpN8I1M,10298
39
39
  intentkit/models/llm.csv,sha256=0NIGyo-6E9sKkPy-iCw4xl3KK8dFO5t45le1gwfg7Vs,3801
40
- intentkit/models/llm.py,sha256=ZnM6qpk9ouTqFysQzzg8TcAfxXASD-H9f1eHsmVjYv8,22186
40
+ intentkit/models/llm.py,sha256=_t4dCyKo4l3dlETKt1SCEKAn-RZ2LRs1bhJfTESarpI,22313
41
41
  intentkit/models/redis.py,sha256=Vqb9pjeMQ85Az5GvUbqCsQ5stBpFg3n85p94TB40xEw,3727
42
42
  intentkit/models/skill.py,sha256=vGJgKpUmjGsThFznEwMLipuZIlqtto_ovVELp1_AjB8,20709
43
43
  intentkit/models/skills.csv,sha256=4Ni3OlVLLVEv8ipBtFzBJ23pysi59HbJ4CRCMHAMDYQ,19219
@@ -439,8 +439,8 @@ intentkit/skills/wow/wow.svg,sha256=PO0-m6TZjJCql9r1oWohlRV5PyqGc5kIDUEnpP2-5SU,
439
439
  intentkit/skills/x402/__init__.py,sha256=tAO80tBlMluExByWiQ_r2GZlaAYTMsaWxCXDREaqqAg,1315
440
440
  intentkit/skills/x402/ask_agent.py,sha256=9zp73uHmYZXnJQtEF7SRxC8N36e41cOwsNqVFo2Q9IQ,5053
441
441
  intentkit/skills/x402/base.py,sha256=KhC9CWFEgdfQjWH1QCRJiNSWCnmgypVIe1ap1hb3X5E,211
442
- intentkit/skills/x402/schema.json,sha256=1mYBzi5t3nSgSBzRv5imAAPG1hEGUWp_-QGJ1vyymoA,1069
443
- intentkit/skills/x402/x402.png,sha256=0BTtwDFlbdily3dA7ZANZYujEI_2_Ll3_D_091jBDws,68
442
+ intentkit/skills/x402/schema.json,sha256=drzDQYukjZisupVS-_A73F5GtT7MDHxKcTzDIr-aYTs,1069
443
+ intentkit/skills/x402/x402.webp,sha256=uFUnkwm9lwCwJgmNqa9ZgF6PjzCcAdQ8b_CKAFh8g-Y,4490
444
444
  intentkit/skills/xmtp/README.md,sha256=7y3ny77l5WUI758Q3xip1akFEgBdbibkwZjeJDu5MwE,2963
445
445
  intentkit/skills/xmtp/__init__.py,sha256=2x3roc8BaHT_Mfd7IXPw0UgUdca8TDB8NBFvMRibhD0,2180
446
446
  intentkit/skills/xmtp/base.py,sha256=hPDcio_mgtD_blsQuMOJcwHQRKiFFaLR022JZZq1HPY,2512
@@ -458,7 +458,7 @@ intentkit/utils/s3.py,sha256=A8Nsx5QJyLsxhj9g7oHNy2-m24tjQUhC9URm8Qb1jFw,10057
458
458
  intentkit/utils/schema.py,sha256=ATeTskEO2Y-MLFcOJEm5BoFJvxqc_zqQwiRS3rO4XDQ,3428
459
459
  intentkit/utils/slack_alert.py,sha256=s7UpRgyzLW7Pbmt8cKzTJgMA9bm4EP-1rQ5KXayHu6E,2264
460
460
  intentkit/utils/tx.py,sha256=2yLLGuhvfBEY5n_GJ8wmIWLCzn0FsYKv5kRNzw_sLUI,1454
461
- intentkit-0.8.13.dev3.dist-info/METADATA,sha256=Hi4VzX9QFTnF9lEEPBgeWKxT7W-_u_DHLWjSQx9iDqU,6316
462
- intentkit-0.8.13.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
463
- intentkit-0.8.13.dev3.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
464
- intentkit-0.8.13.dev3.dist-info/RECORD,,
461
+ intentkit-0.8.14.dev1.dist-info/METADATA,sha256=6ZPjaj5Wpmw-zTLd1j3flPhJ9bU5k4ITELxLfSpxmWc,6316
462
+ intentkit-0.8.14.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
463
+ intentkit-0.8.14.dev1.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
464
+ intentkit-0.8.14.dev1.dist-info/RECORD,,
Binary file