agentcode-cli 1.2.2__py3-none-any.whl → 1.3.0__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.
- {agentcode_cli-1.2.2.dist-info → agentcode_cli-1.3.0.dist-info}/METADATA +1 -1
- {agentcode_cli-1.2.2.dist-info → agentcode_cli-1.3.0.dist-info}/RECORD +7 -7
- router.py +1 -12
- {agentcode_cli-1.2.2.dist-info → agentcode_cli-1.3.0.dist-info}/WHEEL +0 -0
- {agentcode_cli-1.2.2.dist-info → agentcode_cli-1.3.0.dist-info}/entry_points.txt +0 -0
- {agentcode_cli-1.2.2.dist-info → agentcode_cli-1.3.0.dist-info}/licenses/LICENSE +0 -0
- {agentcode_cli-1.2.2.dist-info → agentcode_cli-1.3.0.dist-info}/top_level.txt +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
agent.py,sha256=lBZ8vsduMGt30E7VsPKbByA96Hum8B5pEIE_B7-QlrY,17784
|
|
2
2
|
cli.py,sha256=FhaY-UCKQdmAcKeLw6Cvd2kDowh6yRlvmaKGfGECk80,25074
|
|
3
3
|
mcp_client.py,sha256=2PviTqJtXM4UC_fsYLbAOAfWJvayWy7Q8VOQIIsDiqQ,6710
|
|
4
|
-
router.py,sha256=
|
|
4
|
+
router.py,sha256=kjPpF1js6mA7FN2x_NleyN-BLeVzRAy-Q0wbhjelQzM,11109
|
|
5
5
|
server.py,sha256=KZhq4rYsKlRBth1g2fkqYHdCelJR4DD4-ZugC4jAgtw,10334
|
|
6
6
|
settings.py,sha256=Qjc3tiVbT1cqIrnQW6m2UG8Xsvqsxl9qXPMTueqwn50,6903
|
|
7
7
|
tools.py,sha256=MBYy0OeSIZjqyGOezaMvZ6AMW3WRDESU-2u48sifd0Q,24741
|
|
8
8
|
xml_tool_parser.py,sha256=T62DigRj8VCH30dq5AnxV8hsJXf0f2vyubg5F4nzDDk,3138
|
|
9
|
-
agentcode_cli-1.
|
|
10
|
-
agentcode_cli-1.
|
|
11
|
-
agentcode_cli-1.
|
|
12
|
-
agentcode_cli-1.
|
|
13
|
-
agentcode_cli-1.
|
|
14
|
-
agentcode_cli-1.
|
|
9
|
+
agentcode_cli-1.3.0.dist-info/licenses/LICENSE,sha256=BqTzyKKaSaVQoumXzhYCj1UgOSPCgvn-sxV6BIuT558,1068
|
|
10
|
+
agentcode_cli-1.3.0.dist-info/METADATA,sha256=1MeERg6ipcTMW0Kszldz_zLWZL-3xRORmu8ERQMUCJE,12709
|
|
11
|
+
agentcode_cli-1.3.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
12
|
+
agentcode_cli-1.3.0.dist-info/entry_points.txt,sha256=xP_zeySufuVhL5v10_EqCooKRSxGYB8QuRVNUj4_m1E,39
|
|
13
|
+
agentcode_cli-1.3.0.dist-info/top_level.txt,sha256=684sAEdroiDabB0I7Zud0vYWXcDbCl2WK0LjTQzxiUk,66
|
|
14
|
+
agentcode_cli-1.3.0.dist-info/RECORD,,
|
router.py
CHANGED
|
@@ -47,20 +47,11 @@ GEMINI_TIERS = [
|
|
|
47
47
|
ModelTier("gemini/gemini-2.5-pro", "heavy", "Gemini 2.5 Pro", 1.25, 10.00),
|
|
48
48
|
]
|
|
49
49
|
|
|
50
|
-
# Azure deployment names are user-defined, so tiers use common defaults.
|
|
51
|
-
# Users can override via settings.json model.light/medium/heavy.
|
|
52
|
-
AZURE_TIERS = [
|
|
53
|
-
ModelTier("azure/gpt-4o-mini", "light", "Azure GPT-4o Mini", 0.15, 0.60),
|
|
54
|
-
ModelTier("azure/gpt-4o", "medium", "Azure GPT-4o", 2.50, 10.00),
|
|
55
|
-
ModelTier("azure/gpt-4o", "heavy", "Azure GPT-4o", 2.50, 10.00),
|
|
56
|
-
]
|
|
57
|
-
|
|
58
50
|
# Provider configs keyed by prefix
|
|
59
51
|
PROVIDER_TIERS = {
|
|
60
52
|
"anthropic": ANTHROPIC_TIERS,
|
|
61
53
|
"openai": OPENAI_TIERS,
|
|
62
54
|
"gemini": GEMINI_TIERS,
|
|
63
|
-
"azure": AZURE_TIERS,
|
|
64
55
|
}
|
|
65
56
|
|
|
66
57
|
|
|
@@ -212,9 +203,7 @@ class ModelRouter:
|
|
|
212
203
|
def detect_provider(self, model_string: str) -> str:
|
|
213
204
|
"""Detect provider from a model string."""
|
|
214
205
|
m = model_string.lower()
|
|
215
|
-
if m
|
|
216
|
-
return "azure"
|
|
217
|
-
elif "claude" in m or "anthropic" in m:
|
|
206
|
+
if "claude" in m or "anthropic" in m:
|
|
218
207
|
return "anthropic"
|
|
219
208
|
elif "gpt" in m or "openai" in m or "o1" in m or "o3" in m:
|
|
220
209
|
return "openai"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|