solana-agent 0.0.16__tar.gz → 0.0.18__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: 0.0.16
3
+ Version: 0.0.18
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 = "0.0.16"
3
+ version = "0.0.18"
4
4
  description = "Build self-learning AI Agents"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -155,7 +155,7 @@ class AI:
155
155
  self._assistant_id = existing_assistant.id
156
156
  else:
157
157
  self._assistant_id = self._client.beta.assistants.create(
158
- name=self.name,
158
+ name=self._name,
159
159
  instructions=self._instructions,
160
160
  tools=self._tools,
161
161
  model=self._openai_assistant_model,
@@ -367,14 +367,14 @@ class AI:
367
367
  self,
368
368
  user_id: str,
369
369
  query: str,
370
- limit: int | None = None,
370
+ limit: int = 10,
371
371
  ) -> List[str] | None:
372
372
  """Search stored conversation facts using Zep memory integration.
373
373
 
374
374
  Args:
375
375
  user_id (str): Unique identifier for the user
376
376
  query (str): Search query to find relevant facts
377
- limit (int | None, optional): Maximum number of facts to return. Defaults to None.
377
+ limit (int, optional): Maximum number of facts to return. Defaults to 10.
378
378
 
379
379
  Returns:
380
380
  List[str] | None: List of found facts or None if Zep is not configured
@@ -383,14 +383,13 @@ class AI:
383
383
  ```python
384
384
  facts = ai.search_facts(
385
385
  user_id="user123",
386
- query="project requirements",
387
- limit=5
386
+ query="project requirements"
388
387
  )
389
388
  # Returns: ["Fact 1", "Fact 2", ...]
390
389
  ```
391
390
 
392
391
  Note:
393
- Requires Zep integration to be configured with valid API key and URL.
392
+ Requires Zep integration to be configured with valid API key.
394
393
  This is a synchronous tool method required for OpenAI function calling.
395
394
  """
396
395
  if self._sync_zep:
File without changes
File without changes