agentcrew-ai 0.9.1__py3-none-any.whl → 0.9.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.
- AgentCrew/__init__.py +1 -1
- AgentCrew/modules/custom_llm/github_copilot_service.py +24 -0
- AgentCrew/modules/gui/widgets/history_sidebar.py +2 -0
- AgentCrew/modules/llm/constants.py +25 -0
- AgentCrew/modules/openai/service.py +1 -0
- {agentcrew_ai-0.9.1.dist-info → agentcrew_ai-0.9.3.dist-info}/METADATA +1 -1
- {agentcrew_ai-0.9.1.dist-info → agentcrew_ai-0.9.3.dist-info}/RECORD +11 -11
- {agentcrew_ai-0.9.1.dist-info → agentcrew_ai-0.9.3.dist-info}/WHEEL +0 -0
- {agentcrew_ai-0.9.1.dist-info → agentcrew_ai-0.9.3.dist-info}/entry_points.txt +0 -0
- {agentcrew_ai-0.9.1.dist-info → agentcrew_ai-0.9.3.dist-info}/licenses/LICENSE +0 -0
- {agentcrew_ai-0.9.1.dist-info → agentcrew_ai-0.9.3.dist-info}/top_level.txt +0 -0
AgentCrew/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.9.
|
|
1
|
+
__version__ = "0.9.3"
|
|
@@ -37,6 +37,30 @@ class GithubCopilotService(CustomLLMService):
|
|
|
37
37
|
# self._interaction_id = None
|
|
38
38
|
logger.info("Initialized Github Copilot Service")
|
|
39
39
|
|
|
40
|
+
def set_think(self, budget_tokens) -> bool:
|
|
41
|
+
"""
|
|
42
|
+
Enable or disable thinking mode with the specified token budget.
|
|
43
|
+
|
|
44
|
+
Args:
|
|
45
|
+
budget_tokens (int): Token budget for thinking. 0 to disable thinking mode.
|
|
46
|
+
|
|
47
|
+
Returns:
|
|
48
|
+
bool: True if thinking mode is supported and successfully set, False otherwise.
|
|
49
|
+
"""
|
|
50
|
+
if "thinking" in ModelRegistry.get_model_capabilities(
|
|
51
|
+
f"{self._provider_name}/{self.model}"
|
|
52
|
+
):
|
|
53
|
+
if budget_tokens == "0" or budget_tokens == "none":
|
|
54
|
+
self.reasoning_effort = None
|
|
55
|
+
return True
|
|
56
|
+
elif budget_tokens not in ["low", "medium", "high", "max"]:
|
|
57
|
+
raise ValueError("budget_tokens must be low, medium or high")
|
|
58
|
+
|
|
59
|
+
self.reasoning_effort = budget_tokens
|
|
60
|
+
return True
|
|
61
|
+
logger.info("Thinking mode is not supported for OpenAI models.")
|
|
62
|
+
return False
|
|
63
|
+
|
|
40
64
|
def _github_copilot_token_to_open_ai_key(self, copilot_api_key):
|
|
41
65
|
"""
|
|
42
66
|
Convert GitHub Copilot token to OpenAI key format.
|
|
@@ -7,6 +7,18 @@ _ANTHROPIC_MODELS = [
|
|
|
7
7
|
name="Claude 4.5 Opus",
|
|
8
8
|
description="Premium model combining maximum intelligence with practical performance",
|
|
9
9
|
capabilities=["thinking", "tool_use", "vision", "stream"],
|
|
10
|
+
max_context_token=200_000,
|
|
11
|
+
default=False,
|
|
12
|
+
input_token_price_1m=5.0,
|
|
13
|
+
output_token_price_1m=25.0,
|
|
14
|
+
),
|
|
15
|
+
Model(
|
|
16
|
+
id="claude-opus-4-6",
|
|
17
|
+
provider="claude",
|
|
18
|
+
name="Claude 4.6 Opus",
|
|
19
|
+
description="Premium model combining maximum intelligence with practical performance",
|
|
20
|
+
capabilities=["thinking", "tool_use", "vision", "stream"],
|
|
21
|
+
max_context_token=200_000,
|
|
10
22
|
default=False,
|
|
11
23
|
input_token_price_1m=5.0,
|
|
12
24
|
output_token_price_1m=25.0,
|
|
@@ -27,6 +39,7 @@ _ANTHROPIC_MODELS = [
|
|
|
27
39
|
name="Claude 4.5 Sonnet",
|
|
28
40
|
description="Our smartest model for complex agents and coding",
|
|
29
41
|
capabilities=["thinking", "tool_use", "vision", "stream"],
|
|
42
|
+
max_context_token=200_000,
|
|
30
43
|
default=False,
|
|
31
44
|
input_token_price_1m=3.0,
|
|
32
45
|
output_token_price_1m=15.0,
|
|
@@ -36,6 +49,7 @@ _ANTHROPIC_MODELS = [
|
|
|
36
49
|
provider="claude",
|
|
37
50
|
name="Claude 4.5 Haiku",
|
|
38
51
|
description="Our fastest model with near-frontier intelligence",
|
|
52
|
+
max_context_token=200_000,
|
|
39
53
|
capabilities=["tool_use", "vision", "stream", "thinking"],
|
|
40
54
|
input_token_price_1m=0.8,
|
|
41
55
|
output_token_price_1m=4.0,
|
|
@@ -628,6 +642,17 @@ _GITHUB_COPILOT_MODELS = [
|
|
|
628
642
|
input_token_price_1m=0.0,
|
|
629
643
|
output_token_price_1m=0.0,
|
|
630
644
|
),
|
|
645
|
+
Model(
|
|
646
|
+
id="claude-opus-4.6",
|
|
647
|
+
provider="github_copilot",
|
|
648
|
+
name="Claude Opus 4.6",
|
|
649
|
+
description="",
|
|
650
|
+
capabilities=["tool_use", "vision", "stream", "thinking", "structured_output"],
|
|
651
|
+
default=False,
|
|
652
|
+
max_context_token=200_000,
|
|
653
|
+
input_token_price_1m=0.0,
|
|
654
|
+
output_token_price_1m=0.0,
|
|
655
|
+
),
|
|
631
656
|
]
|
|
632
657
|
AVAILABLE_MODELS = (
|
|
633
658
|
_ANTHROPIC_MODELS
|
|
@@ -43,6 +43,7 @@ class OpenAIService(BaseLLMService):
|
|
|
43
43
|
):
|
|
44
44
|
if budget_tokens == "0" or budget_tokens == "none":
|
|
45
45
|
self.reasoning_effort = None
|
|
46
|
+
return True
|
|
46
47
|
elif budget_tokens not in ["minimal", "low", "medium", "high"]:
|
|
47
48
|
raise ValueError("budget_tokens must be low, medium or high")
|
|
48
49
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
AgentCrew/__init__.py,sha256=
|
|
1
|
+
AgentCrew/__init__.py,sha256=xKd3pzbczuMsdB08eLAOqZDUd_q1IRxwZ_ccAFL4c4A,22
|
|
2
2
|
AgentCrew/app.py,sha256=5FZAWfsv5LJ0OY0ZIy-TYJ-pZ1d3pd5Boh_QaDKPT0A,14523
|
|
3
3
|
AgentCrew/main.py,sha256=nmoYDobbUe1le_z1_7s2rfrgm6N56nxuPHnsOFDu-dg,12767
|
|
4
4
|
AgentCrew/main_docker.py,sha256=OkVcujUcWNUcy1XCXbFFwjH6hj8oOeNUuMbFq__7lHc,5362
|
|
@@ -112,7 +112,7 @@ AgentCrew/modules/console/visual_mode/viewer_ui.py,sha256=-wiKWUqZLAvWrAcrPqTgX-
|
|
|
112
112
|
AgentCrew/modules/custom_llm/__init__.py,sha256=NvgE3c6rYd52SmRITqGeHqaGOnHrK9vU8RBqD9_6Mdo,337
|
|
113
113
|
AgentCrew/modules/custom_llm/copilot_response_service.py,sha256=tySzxnLMzMt3WjwhvBegtDP7Qk43D2Wc5bxZAi0Z3sA,4605
|
|
114
114
|
AgentCrew/modules/custom_llm/deepinfra_service.py,sha256=uY7f-lg-hnR7A1ZYwKSE10c4WlJ9C693eBiZxLV6jlw,7553
|
|
115
|
-
AgentCrew/modules/custom_llm/github_copilot_service.py,sha256
|
|
115
|
+
AgentCrew/modules/custom_llm/github_copilot_service.py,sha256=-2FSwfS41jcjvkfstHo0FDH_vTTyGP4F59VteFsZ18M,15330
|
|
116
116
|
AgentCrew/modules/custom_llm/service.py,sha256=hBiTdCr1Y7O6y-cHvLYHuwhHfm0jMruQqEJsDln4bB4,19412
|
|
117
117
|
AgentCrew/modules/file_editing/__init__.py,sha256=Q6oDyP3bHslFpmxHdrCCLVx1M_awaHD2WqFTSEU3VIY,241
|
|
118
118
|
AgentCrew/modules/file_editing/safety_validator.py,sha256=lLNb_GpIIX2QtN86U2NKbM-b3VYW3b6jNkXL5hKPlok,5575
|
|
@@ -156,7 +156,7 @@ AgentCrew/modules/gui/utils/wins_clipboard.py,sha256=8LXKje-WzR3Iubu8c_37s-j8DP_
|
|
|
156
156
|
AgentCrew/modules/gui/widgets/__init__.py,sha256=Rc6P_K8d9Dw6H3AGAwnmkuhIxEu5ulht3w7VYJK-cds,493
|
|
157
157
|
AgentCrew/modules/gui/widgets/config_window.py,sha256=QxwnT7N6C0Jm8OOJ4WJE71j7tqDH0kTJVCCGnzR4SZw,3099
|
|
158
158
|
AgentCrew/modules/gui/widgets/diff_widget.py,sha256=EZiz9K-Pski9dH4LdkozBnEt-TZSacepUovaaKmLe5k,17812
|
|
159
|
-
AgentCrew/modules/gui/widgets/history_sidebar.py,sha256=
|
|
159
|
+
AgentCrew/modules/gui/widgets/history_sidebar.py,sha256=0Kz2uoz6CwdEy4Ny5go84cBgTcupSmKzoiU4HQZlMHk,10771
|
|
160
160
|
AgentCrew/modules/gui/widgets/json_editor.py,sha256=lV-Me8TUJzIkF-tbiRiFSdRGDbxv9bBKDdSSLwof7oU,6211
|
|
161
161
|
AgentCrew/modules/gui/widgets/loading_overlay.py,sha256=jCfHDDJ5YudfwU15s61l3zQVeWoRhI38WvaTylysR9g,3630
|
|
162
162
|
AgentCrew/modules/gui/widgets/markdown_editor.py,sha256=53nUFXU5jH4HEv5StHoI5onfQDvyCCAlH6OIvYZFVyk,10121
|
|
@@ -176,7 +176,7 @@ AgentCrew/modules/image_generation/service.py,sha256=OEuVaVd4ecKSdZn-WGMmqyZtqDw
|
|
|
176
176
|
AgentCrew/modules/image_generation/tool.py,sha256=TCe6tOvvCXj5LvjMtmxH1AQ5s2FWHDA79ix43hdzGZs,6087
|
|
177
177
|
AgentCrew/modules/llm/__init__.py,sha256=dMlHRa09bbPEVZnGXm62TcHmbvQzdBqmRIxstlrls8k,63
|
|
178
178
|
AgentCrew/modules/llm/base.py,sha256=S2Tzg4LXQv69MVjNScWbpid3cM20QCgW0KHQqvghjeI,11511
|
|
179
|
-
AgentCrew/modules/llm/constants.py,sha256=
|
|
179
|
+
AgentCrew/modules/llm/constants.py,sha256=HT05oBEx8163IRJMG6ezDQAbrNVAXryhuM67b3Gx9FM,24184
|
|
180
180
|
AgentCrew/modules/llm/model_registry.py,sha256=7gJqn-YoentH2Xx0AlF5goyxQDlEBMFWak2poafjhyI,5510
|
|
181
181
|
AgentCrew/modules/llm/service_manager.py,sha256=oXSjcAbrfcGLdBcm_ylnSWIp87Ecl96yZ8efkWFb4Gw,10669
|
|
182
182
|
AgentCrew/modules/llm/types.py,sha256=Bkr1OIRJJ5neUiSCMUJco8SwerrycPh5Xg1kVDpO0os,949
|
|
@@ -196,7 +196,7 @@ AgentCrew/modules/memory/tool.py,sha256=ah1UEbqhOlW-AgHOeXyqptC-LYeYWnIj1Ui3r3fh
|
|
|
196
196
|
AgentCrew/modules/memory/voyageai_ef.py,sha256=X9znUSfT9Ozd-l1Ak9ulBAZzfGu9G9W18V8XKdIytWk,4508
|
|
197
197
|
AgentCrew/modules/openai/__init__.py,sha256=w5Ytp3ckIsrcrkyaQl0OWWTHlulqBT7sYEYhxkYaOmE,141
|
|
198
198
|
AgentCrew/modules/openai/response_service.py,sha256=vXXcBYq_Hc3-2YMMkoszVkYijvtJ2mw_bzKOwElQFNA,25005
|
|
199
|
-
AgentCrew/modules/openai/service.py,sha256=
|
|
199
|
+
AgentCrew/modules/openai/service.py,sha256=bFnHj8G91E57hWOoqecDEFSZALumQFvuuJ0shhGSUdQ,16263
|
|
200
200
|
AgentCrew/modules/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
201
201
|
AgentCrew/modules/prompts/constants.py,sha256=1PG4alXmPFKYA3UIUYG1v_ZdWg6zHlLPfgC9wAH0IkE,12223
|
|
202
202
|
AgentCrew/modules/tools/README.md,sha256=uLfmbvt8fATmi5gQ0ihiKAjnzgOF_ihA0hBsAEVDyAE,2100
|
|
@@ -211,9 +211,9 @@ AgentCrew/modules/voice/text_cleaner.py,sha256=NgAVBPkP2hFI330nJOyMK_oqP3R2AGZ22
|
|
|
211
211
|
AgentCrew/modules/web_search/__init__.py,sha256=sVf_z6nH2JghK46pG92PUtDghPIkceiX1F0Ul30euXU,111
|
|
212
212
|
AgentCrew/modules/web_search/service.py,sha256=DKcOdRSHB5AEvbK8pvTXdffSnk6rFRTzaM1FXf2B70E,4006
|
|
213
213
|
AgentCrew/modules/web_search/tool.py,sha256=GV4xleVFs0UwiPS9toSzPzZei3ehsDZWxTQCJCRaEs8,6655
|
|
214
|
-
agentcrew_ai-0.9.
|
|
215
|
-
agentcrew_ai-0.9.
|
|
216
|
-
agentcrew_ai-0.9.
|
|
217
|
-
agentcrew_ai-0.9.
|
|
218
|
-
agentcrew_ai-0.9.
|
|
219
|
-
agentcrew_ai-0.9.
|
|
214
|
+
agentcrew_ai-0.9.3.dist-info/licenses/LICENSE,sha256=O51CIaOUcxVLNf0_PE_a8ap5bf3iXe4SrWN_5NO1PSU,11348
|
|
215
|
+
agentcrew_ai-0.9.3.dist-info/METADATA,sha256=BecC40QOnqeBL1R1aTbF1sLzW8CQGsrnYw81_cfxX_U,18025
|
|
216
|
+
agentcrew_ai-0.9.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
217
|
+
agentcrew_ai-0.9.3.dist-info/entry_points.txt,sha256=N9R5jslrBYA8dTaNMRJ_JdSosJ6jkpGEtnJFzlcZD6k,54
|
|
218
|
+
agentcrew_ai-0.9.3.dist-info/top_level.txt,sha256=bSsmhCOn6g-JytoVMpxB_QAnCgb7lV56fcnxUhbfrvg,10
|
|
219
|
+
agentcrew_ai-0.9.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|