solana-agent 1.4.1__py3-none-any.whl → 1.4.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 +3 -3
- {solana_agent-1.4.1.dist-info → solana_agent-1.4.2.dist-info}/METADATA +1 -1
- solana_agent-1.4.2.dist-info/RECORD +6 -0
- solana_agent-1.4.1.dist-info/RECORD +0 -6
- {solana_agent-1.4.1.dist-info → solana_agent-1.4.2.dist-info}/LICENSE +0 -0
- {solana_agent-1.4.1.dist-info → solana_agent-1.4.2.dist-info}/WHEEL +0 -0
solana_agent/ai.py
CHANGED
|
@@ -774,7 +774,7 @@ class AI:
|
|
|
774
774
|
"sonar", "sonar-pro", "sonar-reasoning-pro", "sonar-reasoning"
|
|
775
775
|
] = "sonar",
|
|
776
776
|
openai_model: Literal["o1", "o3-mini"] = "o3-mini",
|
|
777
|
-
grok_model: Literal["grok-
|
|
777
|
+
grok_model: Literal["grok-2-latest"] = "grok-2-latest",
|
|
778
778
|
namespace: str = "global",
|
|
779
779
|
) -> str:
|
|
780
780
|
"""Combine multiple data sources with AI reasoning to answer queries.
|
|
@@ -857,13 +857,13 @@ class AI:
|
|
|
857
857
|
return f"Failed to reason. Error: {e}"
|
|
858
858
|
|
|
859
859
|
# x search tool - has to be sync
|
|
860
|
-
def search_x(self, query: str, model: Literal["grok-
|
|
860
|
+
def search_x(self, query: str, model: Literal["grok-2-latest"] = "grok-2-latest") -> str:
|
|
861
861
|
try:
|
|
862
862
|
"""Search X (formerly Twitter) using Grok API integration.
|
|
863
863
|
|
|
864
864
|
Args:
|
|
865
865
|
query (str): Search query to find relevant X posts
|
|
866
|
-
model (Literal["grok-
|
|
866
|
+
model (Literal["grok-2-latest"], optional): Grok model to use. Defaults to "grok-2-latest"
|
|
867
867
|
|
|
868
868
|
Returns:
|
|
869
869
|
str: Search results from X or error message if search fails
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
+
solana_agent/ai.py,sha256=96D7W-aJpqCvXNCEckw2ho-e66CeElyd0T4S1eZe5M0,46872
|
|
3
|
+
solana_agent-1.4.2.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
+
solana_agent-1.4.2.dist-info/METADATA,sha256=yuaR7g1LDE446cJeMfBbjUPBw4mi-W-3fApTVt5AUSk,4871
|
|
5
|
+
solana_agent-1.4.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
6
|
+
solana_agent-1.4.2.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
-
solana_agent/ai.py,sha256=BprYscIZfeTFyi2CY-E-OOy2fYnkX_vk9r8wd-4qezw,46848
|
|
3
|
-
solana_agent-1.4.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
-
solana_agent-1.4.1.dist-info/METADATA,sha256=LstvNC7XomRdUCA4QLDPT0gjUo764dB4aRdu7sx_7lo,4871
|
|
5
|
-
solana_agent-1.4.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
6
|
-
solana_agent-1.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|