fyodorov-llm-agents 0.4.56__py3-none-any.whl → 0.4.58__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/agents/agent_service.py +3 -8
- {fyodorov_llm_agents-0.4.56.dist-info → fyodorov_llm_agents-0.4.58.dist-info}/METADATA +1 -1
- {fyodorov_llm_agents-0.4.56.dist-info → fyodorov_llm_agents-0.4.58.dist-info}/RECORD +5 -5
- {fyodorov_llm_agents-0.4.56.dist-info → fyodorov_llm_agents-0.4.58.dist-info}/WHEEL +0 -0
- {fyodorov_llm_agents-0.4.56.dist-info → fyodorov_llm_agents-0.4.58.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,9 @@ from supabase import Client
|
|
4
4
|
import litellm
|
5
5
|
from fyodorov_utils.config.supabase import get_supabase
|
6
6
|
from fyodorov_llm_agents.agents.agent_model import Agent as AgentModel
|
7
|
-
from fyodorov_llm_agents.tools.
|
7
|
+
from fyodorov_llm_agents.tools.mcp_tool_model import MCPTool as ToolModel
|
8
|
+
from fyodorov_llm_agents.tools.mcp_tool_service import MCPTool as ToolService
|
8
9
|
from fyodorov_llm_agents.models.llm_service import LLM
|
9
|
-
from fyodorov_llm_agents.providers.provider_service import Provider
|
10
10
|
|
11
11
|
supabase: Client = get_supabase()
|
12
12
|
|
@@ -173,11 +173,6 @@ class Agent(AgentModel):
|
|
173
173
|
litellm.set_verbose = True
|
174
174
|
# Set environmental variable
|
175
175
|
print(f"[call_with_fn_calling] self.model: {self.model}")
|
176
|
-
if self.model and self.model.id:
|
177
|
-
self.provider = await Provider.get_provider_by_id(self.model.provider_id)
|
178
|
-
print(f"Provider fetched via Provider.get_provider_by_id in call_with_fn_calling: {self.provider}")
|
179
|
-
else:
|
180
|
-
print(f"Model ID not set on Agent {self.id}, using assumptions")
|
181
176
|
if self.provider:
|
182
177
|
self.api_key = self.provider.api_key
|
183
178
|
self.api_url = self.provider.api_url
|
@@ -198,7 +193,7 @@ class Agent(AgentModel):
|
|
198
193
|
if self.api_url is None:
|
199
194
|
self.api_url = "https://api.ollama.ai/v1"
|
200
195
|
|
201
|
-
base_url = str(self.api_url.rstrip('/')
|
196
|
+
base_url = str(self.api_url).rstrip('/')
|
202
197
|
messages: list[dict] = [
|
203
198
|
{"content": self.prompt, "role": "system"},
|
204
199
|
*history,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fyodorov_llm_agents
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.58
|
4
4
|
Summary: LLM agents for the Fyodorov AI suite
|
5
5
|
Author-email: Daniel Ransom <02masseur.alibis@icloud.com>
|
6
6
|
Project-URL: Homepage, https://github.com/FyodorovAI/fyodorov-llm-agents
|
@@ -1,6 +1,6 @@
|
|
1
1
|
fyodorov_llm_agents/base_model.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
fyodorov_llm_agents/agents/agent_model.py,sha256=JNbRBWtErHnFqlP_ONd0B8Vf3o_AyigHKchsd3COZrk,3899
|
3
|
-
fyodorov_llm_agents/agents/agent_service.py,sha256=
|
3
|
+
fyodorov_llm_agents/agents/agent_service.py,sha256=96H_4gqchzCeZg6szy8h3cSKrcjp8t_QNFGeU5wTGAY,10333
|
4
4
|
fyodorov_llm_agents/agents/openai.py,sha256=FA5RS7yn3JwvFA8PXju60XSYC_2oUZFNgBUzeIYtGv0,1154
|
5
5
|
fyodorov_llm_agents/instances/instance_model.py,sha256=swRzCXeUk2FFKzGMEjeToklBJRK7GdAJl1ZIoQALuxs,1368
|
6
6
|
fyodorov_llm_agents/instances/instance_service.py,sha256=XUHznbUhSwDrxs1R9w5zKe15hzEbw2YhNvgDCSWw07M,8764
|
@@ -11,7 +11,7 @@ fyodorov_llm_agents/providers/provider_service.py,sha256=i_xKqC-fuL33Jsdo9h0jtjH
|
|
11
11
|
fyodorov_llm_agents/tools/mcp_tool_model.py,sha256=aCJGW1WZoeTX5UVD8K-ljUTf0dxPLpPZphIKZTIuipM,5278
|
12
12
|
fyodorov_llm_agents/tools/mcp_tool_service.py,sha256=ijgR74pLcH9Bk-b-yAo9I8ZcXHJcrZOrgoWYGljxGhA,7697
|
13
13
|
fyodorov_llm_agents/tools/tool.py,sha256=HyOk0X_3XE23sa8J-8UZx657tJ0sxwZWMbA4OPxXU6E,7940
|
14
|
-
fyodorov_llm_agents-0.4.
|
15
|
-
fyodorov_llm_agents-0.4.
|
16
|
-
fyodorov_llm_agents-0.4.
|
17
|
-
fyodorov_llm_agents-0.4.
|
14
|
+
fyodorov_llm_agents-0.4.58.dist-info/METADATA,sha256=zZih2X4mh3DsWp_9TOO4kao8JznuE3M3LIxYbsjLKW4,551
|
15
|
+
fyodorov_llm_agents-0.4.58.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
16
|
+
fyodorov_llm_agents-0.4.58.dist-info/top_level.txt,sha256=4QOslsBp8Gh7ng25DceA7fHp4KguTIdAxwURz97gH-g,20
|
17
|
+
fyodorov_llm_agents-0.4.58.dist-info/RECORD,,
|
File without changes
|
File without changes
|