solana-agent 0.0.8__tar.gz → 0.0.10__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.8
3
+ Version: 0.0.10
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.8"
3
+ version = "0.0.10"
4
4
  description = "Build self-learning AI Agents"
5
5
  authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
6
6
  license = "MIT"
@@ -27,7 +27,7 @@ class EventHandler(AssistantEventHandler):
27
27
  @override
28
28
  def on_text_delta(self, delta: TextDelta, snapshot: Text):
29
29
  asyncio.create_task(
30
- self._ai_instance.accumulated_value_queue.put(delta.value))
30
+ self._ai_instance._accumulated_value_queue.put(delta.value))
31
31
 
32
32
  @override
33
33
  def on_event(self, event):
@@ -45,9 +45,9 @@ class ToolConfig(BaseModel):
45
45
  class MongoDatabase:
46
46
  def __init__(self, db_url: str, db_name: str):
47
47
  self._client = AsyncIOMotorClient(db_url)
48
- self._db = self.client[db_name]
49
- self._threads = self.db["threads"]
50
- self._messages = self.db["messages"]
48
+ self._db = self._client[db_name]
49
+ self._threads = self._db["threads"]
50
+ self._messages = self._db["messages"]
51
51
 
52
52
  async def save_thread_id(self, user_id: str, thread_id: str):
53
53
  await self._threads.insert_one({"thread_id": thread_id, "user_id": user_id})
File without changes
File without changes