solana-agent 17.1.4__tar.gz → 17.1.6__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.
- {solana_agent-17.1.4 → solana_agent-17.1.6}/PKG-INFO +1 -1
- {solana_agent-17.1.4 → solana_agent-17.1.6}/pyproject.toml +1 -1
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/factories/agent_factory.py +1 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/services/agent.py +3 -10
- {solana_agent-17.1.4 → solana_agent-17.1.6}/LICENSE +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/README.md +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/adapters/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/adapters/llm_adapter.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/adapters/mongodb_adapter.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/client/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/client/solana_agent.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/domains/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/domains/agent.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/domains/routing.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/factories/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/client/client.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/plugins/plugins.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/providers/data_storage.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/providers/llm.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/providers/memory.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/repositories/agent.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/services/agent.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/services/query.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/services/routing.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/plugins/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/plugins/manager.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/plugins/registry.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/plugins/tools/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/plugins/tools/auto_tool.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/repositories/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/repositories/agent.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/repositories/memory.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/services/__init__.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/services/query.py +0 -0
- {solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/services/routing.py +0 -0
@@ -12,7 +12,8 @@ from typing import AsyncGenerator, Dict, List, Literal, Optional, Any, Union
|
|
12
12
|
from solana_agent.interfaces.services.agent import AgentService as AgentServiceInterface
|
13
13
|
from solana_agent.interfaces.providers.llm import LLMProvider
|
14
14
|
from solana_agent.interfaces.repositories.agent import AgentRepository
|
15
|
-
from solana_agent.interfaces.plugins.plugins import ToolRegistry
|
15
|
+
from solana_agent.interfaces.plugins.plugins import ToolRegistry as ToolRegistryInterface
|
16
|
+
from solana_agent.plugins.registry import ToolRegistry
|
16
17
|
from solana_agent.domains.agent import AIAgent, OrganizationMission
|
17
18
|
|
18
19
|
|
@@ -25,7 +26,6 @@ class AgentService(AgentServiceInterface):
|
|
25
26
|
agent_repository: AgentRepository,
|
26
27
|
organization_mission: Optional[OrganizationMission] = None,
|
27
28
|
config: Optional[Dict[str, Any]] = None,
|
28
|
-
tool_registry: Optional[ToolRegistry] = None,
|
29
29
|
):
|
30
30
|
"""Initialize the agent service.
|
31
31
|
|
@@ -40,14 +40,7 @@ class AgentService(AgentServiceInterface):
|
|
40
40
|
self.organization_mission = organization_mission
|
41
41
|
self.config = config or {}
|
42
42
|
self.last_text_response = ""
|
43
|
-
|
44
|
-
# Initialize tool registry with concrete implementation
|
45
|
-
if tool_registry:
|
46
|
-
self.tool_registry = tool_registry
|
47
|
-
else:
|
48
|
-
# Import the concrete implementation
|
49
|
-
from solana_agent.plugins.registry import ToolRegistry as ConcreteToolRegistry
|
50
|
-
self.tool_registry = ConcreteToolRegistry()
|
43
|
+
self.tool_registry = ToolRegistry()
|
51
44
|
|
52
45
|
# Will be set by factory if plugin system is enabled
|
53
46
|
self.plugin_manager = None
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{solana_agent-17.1.4 → solana_agent-17.1.6}/solana_agent/interfaces/providers/data_storage.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|