fyodorov-llm-agents 0.3.1__py3-none-any.whl → 0.3.3__py3-none-any.whl
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.
- fyodorov_llm_agents/tools/mcp_tool_service.py +3 -3
- {fyodorov_llm_agents-0.3.1.dist-info → fyodorov_llm_agents-0.3.3.dist-info}/METADATA +1 -1
- {fyodorov_llm_agents-0.3.1.dist-info → fyodorov_llm_agents-0.3.3.dist-info}/RECORD +5 -5
- {fyodorov_llm_agents-0.3.1.dist-info → fyodorov_llm_agents-0.3.3.dist-info}/WHEEL +0 -0
- {fyodorov_llm_agents-0.3.1.dist-info → fyodorov_llm_agents-0.3.3.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
from datetime import datetime
|
2
2
|
from fyodorov_utils.config.supabase import get_supabase
|
3
|
-
from
|
3
|
+
from .mcp_tool_model import MCPTool as ToolModel
|
4
4
|
|
5
5
|
class MCPTool():
|
6
6
|
@staticmethod
|
@@ -62,10 +62,10 @@ class MCPTool():
|
|
62
62
|
raise e
|
63
63
|
|
64
64
|
@staticmethod
|
65
|
-
def
|
65
|
+
def get_by_name_and_user_id(access_token: str, handle: str, user_id: str) -> ToolModel:
|
66
66
|
try:
|
67
67
|
supabase = get_supabase(access_token)
|
68
|
-
result = supabase.table('mcp_tools').select('*').eq('user_id', user_id).eq('
|
68
|
+
result = supabase.table('mcp_tools').select('*').eq('user_id', user_id).eq('handle', handle).limit(1).execute()
|
69
69
|
tool_dict = result.data[0]
|
70
70
|
tool = ToolModel(**tool_dict)
|
71
71
|
return tool
|
@@ -1,9 +1,9 @@
|
|
1
1
|
fyodorov_llm_agents/agents/agent.py,sha256=NbjiyydsrNUdEQYZ_rR1YpAZ-oqRZqxKEwStWxOkxpE,8010
|
2
2
|
fyodorov_llm_agents/agents/openai.py,sha256=FA5RS7yn3JwvFA8PXju60XSYC_2oUZFNgBUzeIYtGv0,1154
|
3
3
|
fyodorov_llm_agents/tools/mcp_tool_model.py,sha256=i7oFZReVGZsHN2K8T7mCAGF4t92wMMIR9mCkRHUgKsI,4413
|
4
|
-
fyodorov_llm_agents/tools/mcp_tool_service.py,sha256=
|
4
|
+
fyodorov_llm_agents/tools/mcp_tool_service.py,sha256=9tDvSdKpEAOKKU5MHImUqTOc6MZyk1hEjs3GpzgQUsk,5542
|
5
5
|
fyodorov_llm_agents/tools/tool.py,sha256=HyOk0X_3XE23sa8J-8UZx657tJ0sxwZWMbA4OPxXU6E,7940
|
6
|
-
fyodorov_llm_agents-0.3.
|
7
|
-
fyodorov_llm_agents-0.3.
|
8
|
-
fyodorov_llm_agents-0.3.
|
9
|
-
fyodorov_llm_agents-0.3.
|
6
|
+
fyodorov_llm_agents-0.3.3.dist-info/METADATA,sha256=zUcq47V1htoHi9TQ4leRyuae_O-hS2-mwwvx3ur-aok,550
|
7
|
+
fyodorov_llm_agents-0.3.3.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
8
|
+
fyodorov_llm_agents-0.3.3.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
|
9
|
+
fyodorov_llm_agents-0.3.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|