solana-agent 1.1.1__tar.gz → 1.1.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.1.1
3
+ Version: 1.1.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.1.1"
3
+ version = "1.1.2"
4
4
  description = "Build self-learning AI Agents"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -374,15 +374,25 @@ class AI:
374
374
  """
375
375
  try:
376
376
  if use_facts:
377
- facts = self.search_facts(user_id, query)
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
- search_results = self.search_internet(query, perplexity_model)
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
- x_search_results = self.search_x(query, grok_model)
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
 
File without changes
File without changes