intentkit 0.6.23__py3-none-any.whl → 0.6.27.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/skills/twitter/post_tweet.py +1 -3
- intentkit/skills/twitter/reply_tweet.py +1 -3
- {intentkit-0.6.23.dist-info → intentkit-0.6.27.dev1.dist-info}/METADATA +1 -1
- {intentkit-0.6.23.dist-info → intentkit-0.6.27.dev1.dist-info}/RECORD +7 -7
- {intentkit-0.6.23.dist-info → intentkit-0.6.27.dev1.dist-info}/WHEEL +0 -0
- {intentkit-0.6.23.dist-info → intentkit-0.6.27.dev1.dist-info}/licenses/LICENSE +0 -0
intentkit/__init__.py
CHANGED
|
@@ -71,9 +71,7 @@ class TwitterPostTweet(TwitterBaseTool):
|
|
|
71
71
|
# Handle image upload if provided
|
|
72
72
|
if image:
|
|
73
73
|
# Validate image URL - must be from system's S3 CDN
|
|
74
|
-
aws_s3_cdn_url =
|
|
75
|
-
"aws_s3_cdn_url"
|
|
76
|
-
)
|
|
74
|
+
aws_s3_cdn_url = self.skill_store.get_system_config("aws_s3_cdn_url")
|
|
77
75
|
if aws_s3_cdn_url and image.startswith(aws_s3_cdn_url):
|
|
78
76
|
# Use the TwitterClient method to upload the image
|
|
79
77
|
media_ids = await twitter.upload_media(context.agent_id, image)
|
|
@@ -73,9 +73,7 @@ class TwitterReplyTweet(TwitterBaseTool):
|
|
|
73
73
|
# Handle image upload if provided
|
|
74
74
|
if image:
|
|
75
75
|
# Validate image URL - must be from system's S3 CDN
|
|
76
|
-
aws_s3_cdn_url =
|
|
77
|
-
"aws_s3_cdn_url"
|
|
78
|
-
)
|
|
76
|
+
aws_s3_cdn_url = self.skill_store.get_system_config("aws_s3_cdn_url")
|
|
79
77
|
if aws_s3_cdn_url and image.startswith(aws_s3_cdn_url):
|
|
80
78
|
# Use the TwitterClient method to upload the image
|
|
81
79
|
media_ids = await twitter.upload_media(context.agent_id, image)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: intentkit
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.27.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=eqLxuaJagB_jwldc2RB0EQhUNi1r3S6qg5-tWwrtKPs,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
|
|
@@ -342,8 +342,8 @@ intentkit/skills/twitter/get_timeline.py,sha256=IA5OuaquqRdgrjAsNEb_dcoTw1EkuhHG
|
|
|
342
342
|
intentkit/skills/twitter/get_user_by_username.py,sha256=Vl1S3eUPtX7xr6eg6zp0my0uVyumoe9g9FV2zhDXnP4,2592
|
|
343
343
|
intentkit/skills/twitter/get_user_tweets.py,sha256=w9bE0PsGcMmHKyvr6SgI1elhWnRmcSjXjQUEl31Nfm0,4174
|
|
344
344
|
intentkit/skills/twitter/like_tweet.py,sha256=KWX4rh1s_Y9gx_JMCKt3ew7HsIQhRlVyPDUQWldUxbw,2106
|
|
345
|
-
intentkit/skills/twitter/post_tweet.py,sha256=
|
|
346
|
-
intentkit/skills/twitter/reply_tweet.py,sha256=
|
|
345
|
+
intentkit/skills/twitter/post_tweet.py,sha256=UocAXACT5lm_VKI0Xn1Ok6qpOw4AvgMjj2dooD6cTUw,3712
|
|
346
|
+
intentkit/skills/twitter/reply_tweet.py,sha256=TCnI9tW97L35S1c7SddzYxsUI0G8l03w7HkgX0EtmTI,3954
|
|
347
347
|
intentkit/skills/twitter/retweet.py,sha256=vyQgFutLrLqjo43YDZrEW-uKsZMZ6gTrPf0MHCXttnU,2417
|
|
348
348
|
intentkit/skills/twitter/schema.json,sha256=uSSl-dhOs_qrSoOlxFAsTbst0_POWPRZo9YAF_qhho8,6977
|
|
349
349
|
intentkit/skills/twitter/search_tweets.py,sha256=oR-dF3oIPDGjZKy1LN6ifG7GqJ9Ef5YYSuYlBalE9hY,3998
|
|
@@ -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.27.dev1.dist-info/METADATA,sha256=12Xesxfto8qQNRO31AtZJWRtHMEnZjjMWzXHAtNVCz8,6410
|
|
422
|
+
intentkit-0.6.27.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
423
|
+
intentkit-0.6.27.dev1.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
|
|
424
|
+
intentkit-0.6.27.dev1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|