fast-agent-mcp 0.2.2__py3-none-any.whl → 0.2.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.
- {fast_agent_mcp-0.2.2.dist-info → fast_agent_mcp-0.2.3.dist-info}/METADATA +1 -1
- {fast_agent_mcp-0.2.2.dist-info → fast_agent_mcp-0.2.3.dist-info}/RECORD +6 -6
- mcp_agent/llm/providers/augmented_llm_generic.py +5 -4
- {fast_agent_mcp-0.2.2.dist-info → fast_agent_mcp-0.2.3.dist-info}/WHEEL +0 -0
- {fast_agent_mcp-0.2.2.dist-info → fast_agent_mcp-0.2.3.dist-info}/entry_points.txt +0 -0
- {fast_agent_mcp-0.2.2.dist-info → fast_agent_mcp-0.2.3.dist-info}/licenses/LICENSE +0 -0
@@ -62,7 +62,7 @@ mcp_agent/llm/providers/__init__.py,sha256=heVxtmuqFJOnjjxHz4bWSqTAxXoN1E8twC_gQ
|
|
62
62
|
mcp_agent/llm/providers/anthropic_utils.py,sha256=vYDN5G5jKMhD2CQg8veJYab7tvvzYkDMq8M1g_hUAQg,3275
|
63
63
|
mcp_agent/llm/providers/augmented_llm_anthropic.py,sha256=9JXyweks5Joes4ERtmi2wX8i7ZsXydKM7IkMq7s7dIU,15429
|
64
64
|
mcp_agent/llm/providers/augmented_llm_deepseek.py,sha256=SdYDqZZ9hM9sBvW1FSItNn_ENEKQXGNKwVHGnjqjyAA,1927
|
65
|
-
mcp_agent/llm/providers/augmented_llm_generic.py,sha256=
|
65
|
+
mcp_agent/llm/providers/augmented_llm_generic.py,sha256=IIgwPYsVGwDdL2mMYsc5seY3pVFblMwmnxoI5dbxras,1524
|
66
66
|
mcp_agent/llm/providers/augmented_llm_openai.py,sha256=-EkkekxYn85QUXsCmqX6Mk8vUE91ZJCUxzL0N9-fHXg,18136
|
67
67
|
mcp_agent/llm/providers/multipart_converter_anthropic.py,sha256=3eRu7MSkbvBzKLptNdC_u0QohU_6eJ1ikRTaT6yPm0Y,16650
|
68
68
|
mcp_agent/llm/providers/multipart_converter_openai.py,sha256=-EUAVP7ZB5JzvVe4Gtn5av9syWyN74BoDzhK-sOpSdg,16709
|
@@ -132,8 +132,8 @@ mcp_agent/resources/examples/workflows/orchestrator.py,sha256=rOGilFTliWWnZ3Jx5w
|
|
132
132
|
mcp_agent/resources/examples/workflows/parallel.py,sha256=n0dFN26QvYd2wjgohcaUBflac2SzXYx-bCyxMSousJE,1884
|
133
133
|
mcp_agent/resources/examples/workflows/router.py,sha256=E4x_-c3l4YW9w1i4ARcDtkdeqIdbWEGfsMzwLYpdbVc,1677
|
134
134
|
mcp_agent/ui/console_display.py,sha256=TVGDtJ37hc6UG0ei9g7ZPZZfFNeS1MYozt-Mx8HsPCk,9752
|
135
|
-
fast_agent_mcp-0.2.
|
136
|
-
fast_agent_mcp-0.2.
|
137
|
-
fast_agent_mcp-0.2.
|
138
|
-
fast_agent_mcp-0.2.
|
139
|
-
fast_agent_mcp-0.2.
|
135
|
+
fast_agent_mcp-0.2.3.dist-info/METADATA,sha256=P86bwh_G2t8DKsLkZuvbF284HB6juQ002ZNAqHIDq4s,29647
|
136
|
+
fast_agent_mcp-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
137
|
+
fast_agent_mcp-0.2.3.dist-info/entry_points.txt,sha256=qPM7vwtN1_KmP3dXehxgiCxUBHtqP7yfenZigztvY-w,226
|
138
|
+
fast_agent_mcp-0.2.3.dist-info/licenses/LICENSE,sha256=cN3FxDURL9XuzE5mhK9L2paZo82LTfjwCYVT7e3j0e4,10939
|
139
|
+
fast_agent_mcp-0.2.3.dist-info/RECORD,,
|
@@ -10,11 +10,11 @@ DEFAULT_OLLAMA_API_KEY = "ollama"
|
|
10
10
|
|
11
11
|
class GenericAugmentedLLM(OpenAIAugmentedLLM):
|
12
12
|
def __init__(self, *args, **kwargs) -> None:
|
13
|
-
kwargs["provider_name"] = "GenericOpenAI"
|
13
|
+
kwargs["provider_name"] = "GenericOpenAI"
|
14
14
|
super().__init__(*args, **kwargs) # Properly pass args and kwargs to parent
|
15
15
|
|
16
16
|
def _initialize_default_params(self, kwargs: dict) -> RequestParams:
|
17
|
-
"""Initialize
|
17
|
+
"""Initialize Generic parameters"""
|
18
18
|
chosen_model = kwargs.get("model", DEFAULT_OLLAMA_MODEL)
|
19
19
|
|
20
20
|
return RequestParams(
|
@@ -40,7 +40,8 @@ class GenericAugmentedLLM(OpenAIAugmentedLLM):
|
|
40
40
|
return api_key or "ollama"
|
41
41
|
|
42
42
|
def _base_url(self) -> str:
|
43
|
-
|
44
|
-
|
43
|
+
base_url = None
|
44
|
+
if self.context.config and self.context.config.generic:
|
45
|
+
base_url = self.context.config.generic.base_url
|
45
46
|
|
46
47
|
return base_url if base_url else DEFAULT_OLLAMA_BASE_URL
|
File without changes
|
File without changes
|
File without changes
|