solana-agent 1.4.1__tar.gz → 1.4.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solana-agent
3
- Version: 1.4.1
3
+ Version: 1.4.2
4
4
  Summary: Build self-learning AI Agents
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "solana-agent"
3
- version = "1.4.1"
3
+ version = "1.4.2"
4
4
  description = "Build self-learning AI Agents"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -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-beta"] = "grok-beta",
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-beta"] = "grok-beta") -> str:
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-beta"], optional): Grok model to use. Defaults to "grok-beta"
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
File without changes
File without changes