File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " sakit"
3- version = " 15.1.0 "
3+ version = " 15.1.1 "
44description = " Solana Agent Kit"
55authors = [" Bevan Hunt <bevan@bevanhunt.com>" ]
66license = " MIT"
@@ -36,6 +36,7 @@ build-backend = "poetry.core.masonry.api"
3636
3737[tool .poetry .plugins ."solana_agent .plugins" ]
3838birdeye = " sakit.birdeye:get_plugin"
39+ dflow_prediction = " sakit.dflow_prediction:get_plugin"
3940image_gen = " sakit.image_gen:get_plugin"
4041jupiter_holdings = " sakit.jupiter_holdings:get_plugin"
4142jupiter_recurring = " sakit.jupiter_recurring:get_plugin"
@@ -46,6 +47,7 @@ mcp = "sakit.mcp:get_plugin"
4647nemo_agent = " sakit.nemo_agent:get_plugin"
4748privy_create_user = " sakit.privy_create_user:get_plugin"
4849privy_create_wallet = " sakit.privy_create_wallet:get_plugin"
50+ privy_dflow_prediction = " sakit.privy_dflow_prediction:get_plugin"
4951privy_dflow_swap = " sakit.privy_dflow_swap:get_plugin"
5052privy_get_user_by_telegram = " sakit.privy_get_user_by_telegram:get_plugin"
5153privy_recurring = " sakit.privy_recurring:get_plugin"
Original file line number Diff line number Diff line change @@ -33,16 +33,19 @@ class MCPTool(AutoTool):
3333 """
3434
3535 def __init__ (self , registry : Optional [ToolRegistry ] = None ):
36- super ().__init__ (
37- name = "mcp" ,
38- description = "Executes tasks using connected MCP servers (e.g., Zapier actions) via fastmcp. Provide a natural language query describing the task." ,
39- registry = registry ,
40- )
36+ # Initialize all instance attributes BEFORE calling super().__init__
37+ # This prevents attribute errors if the registry inspects the tool during registration
4138 self ._servers : List [Dict [str , Any ]] = [] # List of server configs
4239 self ._llm_provider : str = "grok" # Default to "grok", fallback to "openai"
4340 self ._llm_api_key : Optional [str ] = None
4441 self ._llm_base_url : Optional [str ] = None
4542 self ._llm_model : Optional [str ] = None
43+
44+ super ().__init__ (
45+ name = "mcp" ,
46+ description = "Executes tasks using connected MCP servers (e.g., Zapier actions) via fastmcp. Provide a natural language query describing the task." ,
47+ registry = registry ,
48+ )
4649 logger .info ("MCPTool (fastmcp) initialized." )
4750
4851 def get_schema (self ) -> Dict [str , Any ]:
You can’t perform that action at this time.
0 commit comments