solana-agent 1.1.1__py3-none-any.whl → 1.1.2__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.
- solana_agent/ai.py +13 -3
- {solana_agent-1.1.1.dist-info → solana_agent-1.1.2.dist-info}/METADATA +1 -1
- solana_agent-1.1.2.dist-info/RECORD +6 -0
- solana_agent-1.1.1.dist-info/RECORD +0 -6
- {solana_agent-1.1.1.dist-info → solana_agent-1.1.2.dist-info}/LICENSE +0 -0
- {solana_agent-1.1.1.dist-info → solana_agent-1.1.2.dist-info}/WHEEL +0 -0
solana_agent/ai.py
CHANGED
|
@@ -374,15 +374,25 @@ class AI:
|
|
|
374
374
|
"""
|
|
375
375
|
try:
|
|
376
376
|
if use_facts:
|
|
377
|
-
|
|
377
|
+
try:
|
|
378
|
+
facts = self.search_facts(user_id, query)
|
|
379
|
+
except Exception:
|
|
380
|
+
facts = ""
|
|
378
381
|
else:
|
|
379
382
|
facts = ""
|
|
380
383
|
if use_perplexity:
|
|
381
|
-
|
|
384
|
+
try:
|
|
385
|
+
search_results = self.search_internet(
|
|
386
|
+
query, perplexity_model)
|
|
387
|
+
except Exception:
|
|
388
|
+
search_results = ""
|
|
382
389
|
else:
|
|
383
390
|
search_results = ""
|
|
384
391
|
if use_grok:
|
|
385
|
-
|
|
392
|
+
try:
|
|
393
|
+
x_search_results = self.search_x(query, grok_model)
|
|
394
|
+
except Exception:
|
|
395
|
+
x_search_results = ""
|
|
386
396
|
else:
|
|
387
397
|
x_search_results = ""
|
|
388
398
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
+
solana_agent/ai.py,sha256=mM-oCkrUFO8Lp0dZoqWOlOU0f9lAKmjeuc3eFRWy9zo,29995
|
|
3
|
+
solana_agent-1.1.2.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
+
solana_agent-1.1.2.dist-info/METADATA,sha256=YNglp_2p5pn02MJjtzqAJUTjo_RyiKtp-zIZklJM3c0,4276
|
|
5
|
+
solana_agent-1.1.2.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
6
|
+
solana_agent-1.1.2.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
-
solana_agent/ai.py,sha256=u-CfvihRgQUVSxAJVxFs29byrZxQRAPRqMm1l4mlLLs,29680
|
|
3
|
-
solana_agent-1.1.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
-
solana_agent-1.1.1.dist-info/METADATA,sha256=YorL6wHra39TE0pmhtfyEuiH4mnTiP1P3IZO_J5Fim0,4276
|
|
5
|
-
solana_agent-1.1.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
6
|
-
solana_agent-1.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|