camel-ai 0.2.62__py3-none-any.whl → 0.2.64__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.
Potentially problematic release.
This version of camel-ai might be problematic. Click here for more details.
- camel/__init__.py +1 -1
- camel/agents/chat_agent.py +76 -17
- camel/agents/mcp_agent.py +5 -1
- camel/configs/__init__.py +3 -0
- camel/configs/crynux_config.py +94 -0
- camel/interpreters/base.py +14 -1
- camel/interpreters/docker/Dockerfile +63 -7
- camel/interpreters/docker_interpreter.py +65 -7
- camel/interpreters/e2b_interpreter.py +23 -8
- camel/interpreters/internal_python_interpreter.py +30 -2
- camel/interpreters/ipython_interpreter.py +21 -3
- camel/interpreters/subprocess_interpreter.py +34 -2
- camel/memories/records.py +5 -3
- camel/models/__init__.py +2 -0
- camel/models/azure_openai_model.py +101 -25
- camel/models/cohere_model.py +65 -0
- camel/models/crynux_model.py +94 -0
- camel/models/deepseek_model.py +43 -1
- camel/models/gemini_model.py +50 -4
- camel/models/litellm_model.py +38 -0
- camel/models/mistral_model.py +66 -0
- camel/models/model_factory.py +10 -1
- camel/models/openai_compatible_model.py +81 -17
- camel/models/openai_model.py +86 -16
- camel/models/reka_model.py +69 -0
- camel/models/samba_model.py +69 -2
- camel/models/sglang_model.py +74 -2
- camel/models/watsonx_model.py +62 -0
- camel/societies/workforce/role_playing_worker.py +2 -2
- camel/societies/workforce/single_agent_worker.py +23 -0
- camel/societies/workforce/workforce.py +409 -7
- camel/storages/__init__.py +2 -0
- camel/storages/vectordb_storages/__init__.py +2 -0
- camel/storages/vectordb_storages/weaviate.py +714 -0
- camel/tasks/task.py +19 -10
- camel/toolkits/code_execution.py +37 -8
- camel/toolkits/mcp_toolkit.py +13 -2
- camel/types/enums.py +56 -1
- camel/types/unified_model_type.py +5 -0
- camel/utils/__init__.py +16 -0
- camel/utils/langfuse.py +258 -0
- camel/utils/mcp_client.py +84 -17
- {camel_ai-0.2.62.dist-info → camel_ai-0.2.64.dist-info}/METADATA +6 -1
- {camel_ai-0.2.62.dist-info → camel_ai-0.2.64.dist-info}/RECORD +46 -42
- {camel_ai-0.2.62.dist-info → camel_ai-0.2.64.dist-info}/WHEEL +0 -0
- {camel_ai-0.2.62.dist-info → camel_ai-0.2.64.dist-info}/licenses/LICENSE +0 -0
camel/utils/mcp_client.py
CHANGED
|
@@ -559,8 +559,8 @@ class MCPClient:
|
|
|
559
559
|
MCP server.
|
|
560
560
|
|
|
561
561
|
Returns:
|
|
562
|
-
Callable: A dynamically created
|
|
563
|
-
the MCP tool.
|
|
562
|
+
Callable: A dynamically created Python function that wraps
|
|
563
|
+
the MCP tool and works in both sync and async contexts.
|
|
564
564
|
"""
|
|
565
565
|
func_name = mcp_tool.name
|
|
566
566
|
func_desc = mcp_tool.description or "No description provided."
|
|
@@ -589,16 +589,9 @@ class MCPClient:
|
|
|
589
589
|
|
|
590
590
|
func_params.append(param_name)
|
|
591
591
|
|
|
592
|
-
async
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
Args:
|
|
596
|
-
kwargs: Keyword arguments corresponding to MCP tool parameters.
|
|
597
|
-
|
|
598
|
-
Returns:
|
|
599
|
-
str: The textual result returned by the MCP tool.
|
|
600
|
-
"""
|
|
601
|
-
|
|
592
|
+
# Create the async version of the function
|
|
593
|
+
async def async_mcp_call(**kwargs) -> str:
|
|
594
|
+
r"""Async version of MCP tool call."""
|
|
602
595
|
missing_params: Set[str] = set(required_params) - set(
|
|
603
596
|
kwargs.keys()
|
|
604
597
|
)
|
|
@@ -661,9 +654,83 @@ class MCPClient:
|
|
|
661
654
|
)
|
|
662
655
|
raise e
|
|
663
656
|
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
657
|
+
def adaptive_dynamic_function(**kwargs) -> str:
|
|
658
|
+
r"""Adaptive function that works in both sync and async contexts.
|
|
659
|
+
|
|
660
|
+
This function detects if it's being called from an async context
|
|
661
|
+
and behaves accordingly.
|
|
662
|
+
|
|
663
|
+
Args:
|
|
664
|
+
kwargs: Keyword arguments corresponding to MCP tool parameters.
|
|
665
|
+
|
|
666
|
+
Returns:
|
|
667
|
+
str: The textual result returned by the MCP tool.
|
|
668
|
+
|
|
669
|
+
Raises:
|
|
670
|
+
TimeoutError: If the operation times out.
|
|
671
|
+
RuntimeError: If there are issues with async execution.
|
|
672
|
+
"""
|
|
673
|
+
import asyncio
|
|
674
|
+
import concurrent.futures
|
|
675
|
+
|
|
676
|
+
try:
|
|
677
|
+
# Check if we're in an async context with a running loop
|
|
678
|
+
loop = asyncio.get_running_loop() # noqa: F841
|
|
679
|
+
# If we get here, we're in an async context with a running loop
|
|
680
|
+
# We need to run the async function in a separate thread with
|
|
681
|
+
# a new loop
|
|
682
|
+
|
|
683
|
+
def run_in_thread():
|
|
684
|
+
# Create a new event loop for this thread
|
|
685
|
+
new_loop = asyncio.new_event_loop()
|
|
686
|
+
asyncio.set_event_loop(new_loop)
|
|
687
|
+
try:
|
|
688
|
+
return new_loop.run_until_complete(
|
|
689
|
+
async_mcp_call(**kwargs)
|
|
690
|
+
)
|
|
691
|
+
except Exception as e:
|
|
692
|
+
# Preserve the original exception context
|
|
693
|
+
raise RuntimeError(
|
|
694
|
+
f"MCP call failed in thread: {e}"
|
|
695
|
+
) from e
|
|
696
|
+
finally:
|
|
697
|
+
new_loop.close()
|
|
698
|
+
|
|
699
|
+
# Run in a separate thread to avoid event loop conflicts
|
|
700
|
+
with concurrent.futures.ThreadPoolExecutor() as executor:
|
|
701
|
+
future = executor.submit(run_in_thread)
|
|
702
|
+
try:
|
|
703
|
+
return future.result(
|
|
704
|
+
timeout=self.read_timeout_seconds.total_seconds()
|
|
705
|
+
)
|
|
706
|
+
except concurrent.futures.TimeoutError:
|
|
707
|
+
raise TimeoutError(
|
|
708
|
+
f"MCP call timed out after "
|
|
709
|
+
f"{self.read_timeout_seconds.total_seconds()}"
|
|
710
|
+
f" seconds"
|
|
711
|
+
)
|
|
712
|
+
|
|
713
|
+
except RuntimeError as e:
|
|
714
|
+
# Only handle the specific "no running event loop" case
|
|
715
|
+
if (
|
|
716
|
+
"no running event loop" in str(e).lower()
|
|
717
|
+
or "no current event loop" in str(e).lower()
|
|
718
|
+
):
|
|
719
|
+
# No event loop is running, we can safely use run_async
|
|
720
|
+
from camel.utils.commons import run_async
|
|
721
|
+
|
|
722
|
+
run_async_func = run_async(async_mcp_call)
|
|
723
|
+
return run_async_func(**kwargs)
|
|
724
|
+
else:
|
|
725
|
+
# Re-raise other RuntimeErrors
|
|
726
|
+
raise
|
|
727
|
+
|
|
728
|
+
# Add an async_call method to the function for explicit async usage
|
|
729
|
+
adaptive_dynamic_function.async_call = async_mcp_call # type: ignore[attr-defined]
|
|
730
|
+
|
|
731
|
+
adaptive_dynamic_function.__name__ = func_name
|
|
732
|
+
adaptive_dynamic_function.__doc__ = func_desc
|
|
733
|
+
adaptive_dynamic_function.__annotations__ = annotations
|
|
667
734
|
|
|
668
735
|
sig = inspect.Signature(
|
|
669
736
|
parameters=[
|
|
@@ -676,9 +743,9 @@ class MCPClient:
|
|
|
676
743
|
for param in func_params
|
|
677
744
|
]
|
|
678
745
|
)
|
|
679
|
-
|
|
746
|
+
adaptive_dynamic_function.__signature__ = sig # type: ignore[attr-defined]
|
|
680
747
|
|
|
681
|
-
return
|
|
748
|
+
return adaptive_dynamic_function
|
|
682
749
|
|
|
683
750
|
def _build_tool_schema(self, mcp_tool: types.Tool) -> Dict[str, Any]:
|
|
684
751
|
r"""Build tool schema for OpenAI function calling format."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: camel-ai
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.64
|
|
4
4
|
Summary: Communicative Agents for AI Society Study
|
|
5
5
|
Project-URL: Homepage, https://www.camel-ai.org/
|
|
6
6
|
Project-URL: Repository, https://github.com/camel-ai/camel
|
|
@@ -66,6 +66,7 @@ Requires-Dist: ibm-watsonx-ai>=1.3.11; extra == 'all'
|
|
|
66
66
|
Requires-Dist: imageio[pyav]<3,>=2.34.2; extra == 'all'
|
|
67
67
|
Requires-Dist: ipykernel<7,>=6.0.0; extra == 'all'
|
|
68
68
|
Requires-Dist: jupyter-client<9,>=8.6.2; extra == 'all'
|
|
69
|
+
Requires-Dist: langfuse>=2.60.5; extra == 'all'
|
|
69
70
|
Requires-Dist: linkup-sdk<0.3,>=0.2.1; extra == 'all'
|
|
70
71
|
Requires-Dist: litellm<2,>=1.38.1; extra == 'all'
|
|
71
72
|
Requires-Dist: markitdown==0.1.1; extra == 'all'
|
|
@@ -136,6 +137,7 @@ Requires-Dist: types-requests<3,>=2.31.0; extra == 'all'
|
|
|
136
137
|
Requires-Dist: types-setuptools<70,>=69.2.0; extra == 'all'
|
|
137
138
|
Requires-Dist: types-tqdm<5,>=4.66.0; extra == 'all'
|
|
138
139
|
Requires-Dist: unstructured==0.16.20; extra == 'all'
|
|
140
|
+
Requires-Dist: weaviate-client>=4.15.0; extra == 'all'
|
|
139
141
|
Requires-Dist: wikipedia<2,>=1; extra == 'all'
|
|
140
142
|
Requires-Dist: wolframalpha<6,>=5.0.0; extra == 'all'
|
|
141
143
|
Requires-Dist: xls2xlsx>=0.2.0; extra == 'all'
|
|
@@ -184,6 +186,7 @@ Requires-Dist: docker<8,>=7.1.0; extra == 'dev-tools'
|
|
|
184
186
|
Requires-Dist: e2b-code-interpreter<2,>=1.0.3; extra == 'dev-tools'
|
|
185
187
|
Requires-Dist: ipykernel<7,>=6.0.0; extra == 'dev-tools'
|
|
186
188
|
Requires-Dist: jupyter-client<9,>=8.6.2; extra == 'dev-tools'
|
|
189
|
+
Requires-Dist: langfuse>=2.60.5; extra == 'dev-tools'
|
|
187
190
|
Requires-Dist: mcp>=1.3.0; extra == 'dev-tools'
|
|
188
191
|
Requires-Dist: tree-sitter-python<0.24,>=0.23.6; extra == 'dev-tools'
|
|
189
192
|
Requires-Dist: tree-sitter<0.24,>=0.23.2; extra == 'dev-tools'
|
|
@@ -303,6 +306,7 @@ Requires-Dist: qdrant-client<2,>=1.9.0; extra == 'rag'
|
|
|
303
306
|
Requires-Dist: rank-bm25<0.3,>=0.2.2; extra == 'rag'
|
|
304
307
|
Requires-Dist: sentence-transformers<4,>=3.0.1; extra == 'rag'
|
|
305
308
|
Requires-Dist: unstructured==0.16.20; extra == 'rag'
|
|
309
|
+
Requires-Dist: weaviate-client>=4.15.0; extra == 'rag'
|
|
306
310
|
Provides-Extra: research-tools
|
|
307
311
|
Requires-Dist: arxiv2text<0.2,>=0.1.14; extra == 'research-tools'
|
|
308
312
|
Requires-Dist: arxiv<3,>=2.1.3; extra == 'research-tools'
|
|
@@ -320,6 +324,7 @@ Requires-Dist: pyobvector>=0.1.18; extra == 'storage'
|
|
|
320
324
|
Requires-Dist: pytidb-experimental==0.0.1.dev4; extra == 'storage'
|
|
321
325
|
Requires-Dist: qdrant-client<2,>=1.9.0; extra == 'storage'
|
|
322
326
|
Requires-Dist: redis<6,>=5.0.6; extra == 'storage'
|
|
327
|
+
Requires-Dist: weaviate-client>=4.15.0; extra == 'storage'
|
|
323
328
|
Provides-Extra: test
|
|
324
329
|
Requires-Dist: mock<6,>=5; extra == 'test'
|
|
325
330
|
Requires-Dist: pytest-asyncio<0.24,>=0.23.0; extra == 'test'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
camel/__init__.py,sha256=
|
|
1
|
+
camel/__init__.py,sha256=oIv0ALVBSGtJbIQNDFCTzGrAAtfSEENKv0pIFJ67Yks,899
|
|
2
2
|
camel/generators.py,sha256=JRqj9_m1PF4qT6UtybzTQ-KBT9MJQt18OAAYvQ_fr2o,13844
|
|
3
3
|
camel/human.py,sha256=Xg8x1cS5KK4bQ1SDByiHZnzsRpvRP-KZViNvmu38xo4,5475
|
|
4
4
|
camel/logger.py,sha256=rZVeOVYuQ9RYJ5Tqyv0usqy0g4zaVEq4qSfZ9nd2640,5755
|
|
@@ -7,12 +7,12 @@ camel/agents/__init__.py,sha256=64weKqdvmpZcGWyVkO-OKASAmVUdrQjv60JApgPk_SA,1644
|
|
|
7
7
|
camel/agents/_types.py,sha256=ryPRmEXnpNtbFT23GoAcwK-zxWWsIOqYu64mxMx_PhI,1430
|
|
8
8
|
camel/agents/_utils.py,sha256=AR7Qqgbkmn4X2edYUQf1rdksGUyV5hm3iK1z-Dn0Mcg,6266
|
|
9
9
|
camel/agents/base.py,sha256=c4bJYL3G3Z41SaFdMPMn8ZjLdFiFaVOFO6EQIfuCVR8,1124
|
|
10
|
-
camel/agents/chat_agent.py,sha256=
|
|
10
|
+
camel/agents/chat_agent.py,sha256=P2MyzhOyx8Z1QmaSBSJIHdOUpMW0J41gkBWuX_hLJPY,72642
|
|
11
11
|
camel/agents/critic_agent.py,sha256=L6cTbYjyZB0DCa51tQ6LZLA6my8kHLC4nktHySH78H4,10433
|
|
12
12
|
camel/agents/deductive_reasoner_agent.py,sha256=6BZGaq1hR6hKJuQtOfoYQnk_AkZpw_Mr7mUy2MspQgs,13540
|
|
13
13
|
camel/agents/embodied_agent.py,sha256=XBxBu5ZMmSJ4B2U3Z7SMwvLlgp6yNpaBe8HNQmY9CZA,7536
|
|
14
14
|
camel/agents/knowledge_graph_agent.py,sha256=7Tchhyvm1s8tQ3at7iGKZt70xWZllRXu2vwUFR37p10,9681
|
|
15
|
-
camel/agents/mcp_agent.py,sha256=
|
|
15
|
+
camel/agents/mcp_agent.py,sha256=0e1NbHxKGx2asXKDOOuUGGGVZ1DAPxhZMDu8pP6bm_s,16591
|
|
16
16
|
camel/agents/multi_hop_generator_agent.py,sha256=aYsZNsEFHxIq8_wDN8lZRkvRbfhlOYGBKezWr87y8Bs,4325
|
|
17
17
|
camel/agents/programmed_agent_instruction.py,sha256=99fLe41che3X6wPpNPJXRwl4If6EoQqQVWIoT3DKE1s,7124
|
|
18
18
|
camel/agents/repo_agent.py,sha256=ZzZ9zvh0vgdJv1KNY3GEaEPDdDxxXrjUZxjjHjVEWtE,22187
|
|
@@ -39,12 +39,13 @@ camel/bots/discord/discord_store.py,sha256=eGBMYG8gm28PmmhcJ-JOVk2UKTBobEzvb6-pC
|
|
|
39
39
|
camel/bots/slack/__init__.py,sha256=iqySoYftEb7SI4pabhMvvTp1YYS09BvjwGXPEbcP1Hc,1055
|
|
40
40
|
camel/bots/slack/models.py,sha256=xMz3RO-88yrxPRrbBDjiabpbZIlpEHCvU-1CvASKARc,5143
|
|
41
41
|
camel/bots/slack/slack_app.py,sha256=SoSRZZnuTJ0aiLUBZqdG8cUFJzYpfpZh7304t0a_7Dg,9944
|
|
42
|
-
camel/configs/__init__.py,sha256=
|
|
42
|
+
camel/configs/__init__.py,sha256=Fvmj8zyFgW0bxs4SSdvBIGTWHLPSj_lHE1FomiFAowI,4233
|
|
43
43
|
camel/configs/aiml_config.py,sha256=6niTHsxusPfXyNKNfxipTudgeULMIeOeXHAv5hRblsM,4264
|
|
44
44
|
camel/configs/anthropic_config.py,sha256=QI_fZLOswKUo6fBL1DxC2zF2vweUw-5kKL-H6fSEg5Y,4037
|
|
45
45
|
camel/configs/base_config.py,sha256=2nEIRQoY6tIMeBIcxcBtCadmpsd8bSQj9rzewQsgfXo,3188
|
|
46
46
|
camel/configs/bedrock_config.py,sha256=KZ_oZg25AGcC0sC3ZmVElwFcBjchtcPEbya0u0EVv28,3899
|
|
47
47
|
camel/configs/cohere_config.py,sha256=PD8YDgzP0R1-7bixpqvKEHPMf6_SjU1aq-9UVAg-xCI,4019
|
|
48
|
+
camel/configs/crynux_config.py,sha256=gLaUryyOUuIDuWCMCfw1h4-T0d0InenVXkWUz2Gff6Y,5230
|
|
48
49
|
camel/configs/deepseek_config.py,sha256=EuS5agT2ZjJ9-pZGjlpGKPpMjycwozXI87gkQ41ixmQ,5728
|
|
49
50
|
camel/configs/gemini_config.py,sha256=RKCGFOX_yIgWGX30byQFWfiuGQ7diPyyvS2aVmgfORw,4725
|
|
50
51
|
camel/configs/groq_config.py,sha256=H4YEBpSNwqkMrBkJmSpInHucS1Qddr4qOpF-LZqb6QQ,5732
|
|
@@ -123,14 +124,14 @@ camel/extractors/__init__.py,sha256=lgtDl8zWvN826fJVKqRv05w556YZ-EdrHwdzKphywgA,
|
|
|
123
124
|
camel/extractors/base.py,sha256=3jvuZpq27nlADDCX3GfubOpeb_zt-E9rzxF3x4lYm8s,10404
|
|
124
125
|
camel/extractors/python_strategies.py,sha256=zHAkshnO9o-uvLtCuVOCKoA2PzetBTnkNx1Qy_3j_pE,8113
|
|
125
126
|
camel/interpreters/__init__.py,sha256=NOQUsg7gR84zO8nBXu4JGUatsxSDJqZS6otltjXfop4,1265
|
|
126
|
-
camel/interpreters/base.py,sha256=
|
|
127
|
-
camel/interpreters/docker_interpreter.py,sha256=
|
|
128
|
-
camel/interpreters/e2b_interpreter.py,sha256=
|
|
129
|
-
camel/interpreters/internal_python_interpreter.py,sha256=
|
|
127
|
+
camel/interpreters/base.py,sha256=J3DVt_dGzq1v09-gn8j2XRgEM2WoPrhKFyH9koAjkCU,2281
|
|
128
|
+
camel/interpreters/docker_interpreter.py,sha256=IK26JFvqsM-7dOkT29qVqFujw5LF83_-BdSWsIplw4M,11318
|
|
129
|
+
camel/interpreters/e2b_interpreter.py,sha256=lNtIsVJWdSdqLoILZS8f5_7WlHI3n457RzLjmeOqH-A,5319
|
|
130
|
+
camel/interpreters/internal_python_interpreter.py,sha256=TU4ITQTsR8TXsklN11xWEcCkv4jnOVUmnBbHIHCKggk,23362
|
|
130
131
|
camel/interpreters/interpreter_error.py,sha256=uEhcmHmmcajt5C9PLeHs21h1fE6cmyt23tCAGie1kTA,880
|
|
131
|
-
camel/interpreters/ipython_interpreter.py,sha256
|
|
132
|
-
camel/interpreters/subprocess_interpreter.py,sha256=
|
|
133
|
-
camel/interpreters/docker/Dockerfile,sha256=
|
|
132
|
+
camel/interpreters/ipython_interpreter.py,sha256=V-Z_nIwaKmmivv_gD6nwdzmqfBUW4IoN4vZ0IOaUTZU,6582
|
|
133
|
+
camel/interpreters/subprocess_interpreter.py,sha256=DMLJIlTiHk0QA_pH5CXESHdJk-5olKo3aUh0KNECqJI,17759
|
|
134
|
+
camel/interpreters/docker/Dockerfile,sha256=SbbuKS_Rwv9JTKRlVOlsO4QuPTFA9zbsN5CZp9KeUMk,1777
|
|
134
135
|
camel/loaders/__init__.py,sha256=NfXLr0gQUhfyMeB5KpU9EUvhhFLp3X5KNinDs2WO0Q0,1548
|
|
135
136
|
camel/loaders/apify_reader.py,sha256=oaVjKyNhJhG-hTuIwrpZ2hsB4XTL0M-kUksgSL2R0ck,7952
|
|
136
137
|
camel/loaders/base_io.py,sha256=zsbdBPHgSPFyQrtiUgAsHvy39QHWUObRYNaVvr-pPk0,10190
|
|
@@ -147,7 +148,7 @@ camel/loaders/unstructured_io.py,sha256=wA3fkDeS4mSPFkMDnWZzJYKDltio7l72BU9D3EGf
|
|
|
147
148
|
camel/memories/__init__.py,sha256=JQbs-_7VkcVTjE8y9J0DWI3btDyMRZilTZNVuy_RxZM,1358
|
|
148
149
|
camel/memories/agent_memories.py,sha256=HysjYAB6srRdb3uE_IXmC94YPZBfGcAUdTlbcbzzLZE,9330
|
|
149
150
|
camel/memories/base.py,sha256=3BGuExfwwkbkVpxw1uYms8O37F-PD8ArcmYnFKYUcI4,5652
|
|
150
|
-
camel/memories/records.py,sha256=
|
|
151
|
+
camel/memories/records.py,sha256=NoiwDuwnKYObhrXPHSRGw8xdxAqyZDDiarOAN6-d17I,4451
|
|
151
152
|
camel/memories/blocks/__init__.py,sha256=ci7_WU11222cNd1Zkv-a0z5E2ux95NMjAYm_cDzF0pE,854
|
|
152
153
|
camel/memories/blocks/chat_history_block.py,sha256=ZAQZ9NqbwZ_w8XebQ3vVPSTA2sfUNooOfI4oNrGxdDo,6679
|
|
153
154
|
camel/memories/blocks/vectordb_block.py,sha256=lf0ipY4cJMB--tQDvpInqsmHZCn7sD1pkmjC70vTtn4,3941
|
|
@@ -163,24 +164,25 @@ camel/messages/conversion/sharegpt/__init__.py,sha256=oWUuHV5w85kxqhz_hoElLmCfzL
|
|
|
163
164
|
camel/messages/conversion/sharegpt/function_call_formatter.py,sha256=cn7e7CfmxEVFlfOqhjhNuA8nuWvWD6hXYn-3okXNxxQ,1832
|
|
164
165
|
camel/messages/conversion/sharegpt/hermes/__init__.py,sha256=mxuMSm-neaTgInIjYXuIVdC310E6jKJzM3IdtaJ4qY4,812
|
|
165
166
|
camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py,sha256=-9TT8iOQ-ieKSKR_PmJSA5Bi0uBx-qR7WQ6vxuFkorM,4639
|
|
166
|
-
camel/models/__init__.py,sha256=
|
|
167
|
+
camel/models/__init__.py,sha256=TuF6sg8Ixzc0nLCkEa_gUy72TZVQ_uo1XkALH4QZpsk,3325
|
|
167
168
|
camel/models/_utils.py,sha256=hob1ehnS5xZitMCdYToHVgaTB55JnaP4_DSWnTEfVsg,2045
|
|
168
169
|
camel/models/aiml_model.py,sha256=HO_jRvMN2WEVlZRc_UG-OoZ1hv8sEiO5j_7BBKuGlp0,3753
|
|
169
170
|
camel/models/anthropic_model.py,sha256=0jilp8dBrk1JAP0dkw_YX21uL3_81ZGL0qmKZiAI2w0,4331
|
|
170
171
|
camel/models/aws_bedrock_model.py,sha256=cpY66Wcwb-clNf0TCch9WI8au3_GGxHBYUd09rGQi_U,4353
|
|
171
|
-
camel/models/azure_openai_model.py,sha256=
|
|
172
|
+
camel/models/azure_openai_model.py,sha256=lEA9tPAOwdvREc5CgwXeGkfr9UBJQNGcth63Y0uproU,14763
|
|
172
173
|
camel/models/base_audio_model.py,sha256=_VUWh1L3rh8mldNvM5R6jBOKtvmTeBKJyRxAdPJmPlY,3324
|
|
173
174
|
camel/models/base_model.py,sha256=eDeUlgH8iS0Stk6zommzqce4dfD4Qj51tvgXUs5ys4s,14474
|
|
174
|
-
camel/models/cohere_model.py,sha256=
|
|
175
|
-
camel/models/
|
|
175
|
+
camel/models/cohere_model.py,sha256=ze_4R9qYBv5heoOCB34oUzcK5bEg91KvcL9q8Qs9iUo,17049
|
|
176
|
+
camel/models/crynux_model.py,sha256=Fh2Bn8PoneRMUxknD2cut7ihoLzGLQ70JNmqlbRsXh8,3801
|
|
177
|
+
camel/models/deepseek_model.py,sha256=ea_uXTUC6sPP-5VDU7m5HLcw7nSIlphNP8kyqcqV970,10485
|
|
176
178
|
camel/models/fish_audio_model.py,sha256=RCwORRIdCbjZXWWjjctpksPI2DnS0b68JjxunHBQ1xk,5981
|
|
177
|
-
camel/models/gemini_model.py,sha256=
|
|
179
|
+
camel/models/gemini_model.py,sha256=APc2FE47YUpSg2Sct_-Do9pOsrK632Dtu1uEAcTPcSI,12297
|
|
178
180
|
camel/models/groq_model.py,sha256=596VqRJ_yxv9Jz3sG7UVXVkIjZI1nX7zQAD709m4uig,3774
|
|
179
181
|
camel/models/internlm_model.py,sha256=l7WjJ7JISCCqkezhEXzmjj_Mvhqhxxhsg4NuenP7w9w,4374
|
|
180
|
-
camel/models/litellm_model.py,sha256=
|
|
182
|
+
camel/models/litellm_model.py,sha256=BUxVEzCMuFvRYPoR_f4VO0HAO0BIqBnKLaxPkXy_6uU,7181
|
|
181
183
|
camel/models/lmstudio_model.py,sha256=_Lnv0e2ichks_MrNJGNIawEtGtP7T_xX8v0bFNNeWes,3641
|
|
182
|
-
camel/models/mistral_model.py,sha256=
|
|
183
|
-
camel/models/model_factory.py,sha256=
|
|
184
|
+
camel/models/mistral_model.py,sha256=YmFEAVEJdO8gqkd9AmWJnyctHKe7DuzH0O7-XmgzIjM,15620
|
|
185
|
+
camel/models/model_factory.py,sha256=RXIYFq8K-UbJtQgsmXpxVbIhQLBu3iUVXEj9mUGGtwM,11828
|
|
184
186
|
camel/models/model_manager.py,sha256=tzSZpnmBgd_K6vgr2WmaW4MHWzrYbLapA2HH5TrRBM4,9344
|
|
185
187
|
camel/models/modelscope_model.py,sha256=aI7i50DSIE6MO2U_WvULan6Sk4b5d7iZoEHQaARo4FA,10487
|
|
186
188
|
camel/models/moonshot_model.py,sha256=yeD2jrfQpFaWJHVe1s1KrI6aHQVzKRcBDt9C2Qo4nU8,4305
|
|
@@ -190,20 +192,20 @@ camel/models/novita_model.py,sha256=tU8RXsV-4wYmQhXcZkPXdlXRvLwsnj_pEJVSxnhXiXc,
|
|
|
190
192
|
camel/models/nvidia_model.py,sha256=XkHBZJ94nkYB1j9AgyPsorYfvgO1Ys6S6_z3Qh3vrhM,3766
|
|
191
193
|
camel/models/ollama_model.py,sha256=sc49XZT9KQeUWjvLqXn17kKa1jgAyAHiy2MHiUjQrzw,4416
|
|
192
194
|
camel/models/openai_audio_models.py,sha256=BSixkXlc8xirQLl2qCla-g6_y9wDLnMZVHukHrhzw98,13344
|
|
193
|
-
camel/models/openai_compatible_model.py,sha256=
|
|
194
|
-
camel/models/openai_model.py,sha256=
|
|
195
|
+
camel/models/openai_compatible_model.py,sha256=8sibQN-Mp9GsdCiPW3siHTc9s4S1TaebOexDacK3SGU,12687
|
|
196
|
+
camel/models/openai_model.py,sha256=uu6rcy7k25x-NF3tWpbSQXteHMGpyuPVtI9RWJSqAxM,15232
|
|
195
197
|
camel/models/openrouter_model.py,sha256=WAZxAtl_lVMMuc0HGjWHmfs3K0zt7G0dXM55TIsZ4d0,3866
|
|
196
198
|
camel/models/ppio_model.py,sha256=Fn7TTaKkRfg5bIRIxbBSlvAXKLTcJf71iJdgQmSuBSk,3891
|
|
197
199
|
camel/models/qwen_model.py,sha256=J9DgkRA9N0FDEq40lQn30BCiw1WxYlQK-5bSeo19E_g,10285
|
|
198
|
-
camel/models/reka_model.py,sha256=
|
|
199
|
-
camel/models/samba_model.py,sha256=
|
|
200
|
-
camel/models/sglang_model.py,sha256=
|
|
200
|
+
camel/models/reka_model.py,sha256=OwzkYZqHcs_r3Dn4VgyYlckRPzfNUhG2Q5JzE-EdGWc,12773
|
|
201
|
+
camel/models/samba_model.py,sha256=UYGLHjU2Cd4lOJEFjtJTeX3-pyvUVk2ZTgjvvUK2tcc,25193
|
|
202
|
+
camel/models/sglang_model.py,sha256=pcWP7_k4X-pyVKlfT_PWoG-BnZk00Q-Q5aY7k2sYy3c,16956
|
|
201
203
|
camel/models/siliconflow_model.py,sha256=mdVcf-5N-ZWS5qGL2pq7TsAsvlhCXxL6jxavxeElFRw,4432
|
|
202
204
|
camel/models/stub_model.py,sha256=JvjeEkXS7RMcR_UA_64a3T6S0QALUhOaMQs-aI7Etug,5955
|
|
203
205
|
camel/models/togetherai_model.py,sha256=16q-0jsO5HIy9K0elSlR-aA9EDN5VhPXPGBG6cU1t1w,3937
|
|
204
206
|
camel/models/vllm_model.py,sha256=bB4-pkXnMD6aGXumCYpJY62JCWRMuK57kIpzYdK3mJQ,4493
|
|
205
207
|
camel/models/volcano_model.py,sha256=Lsg0BDVPaP50vRNW0D37liEsa71RmvapBxN_JCcHe-4,3674
|
|
206
|
-
camel/models/watsonx_model.py,sha256=
|
|
208
|
+
camel/models/watsonx_model.py,sha256=WfBwNdlsly8zZLhi0agVsI6iVKi-lYCynQByN37fRPg,11326
|
|
207
209
|
camel/models/yi_model.py,sha256=hZ_LYZWYhDkjBA3UcDiY2sGPFH3jEbxHaRy6IMvLYZ4,3742
|
|
208
210
|
camel/models/zhipuai_model.py,sha256=2oOIhrRB9d1zC4gaHz69bQfHlJlsiEn2SXOR_CQHAp0,3833
|
|
209
211
|
camel/models/reward/__init__.py,sha256=MqPN6wXh7Y1SoeNoFlYaMG6xHzLG0CYsv_3kB2atIQk,984
|
|
@@ -262,13 +264,13 @@ camel/societies/role_playing.py,sha256=1TsQbGYmN91BeQ0DGM5PpSJ9TMbn1F3maJNuv4fQ5
|
|
|
262
264
|
camel/societies/workforce/__init__.py,sha256=bkTI-PE-MSK9AQ2V2gR6cR2WY-R7Jqy_NmXRtAoqo8o,920
|
|
263
265
|
camel/societies/workforce/base.py,sha256=z2DmbTP5LL5-aCAAqglznQqCLfPmnyM5zD3w6jjtsb8,2175
|
|
264
266
|
camel/societies/workforce/prompts.py,sha256=4OGp-1-XFYIZ8ZERubSsG-hwXti8fhjtwc3n5-WEgsA,7821
|
|
265
|
-
camel/societies/workforce/role_playing_worker.py,sha256=
|
|
266
|
-
camel/societies/workforce/single_agent_worker.py,sha256=
|
|
267
|
+
camel/societies/workforce/role_playing_worker.py,sha256=1o83nNeKZaIP8KBWkzdiLRhLIBD4PMlw_KQv46AJwJs,7513
|
|
268
|
+
camel/societies/workforce/single_agent_worker.py,sha256=ad5C5BoEdVfPFZtL_md3cGG634ZGP8GZ9lcmOYX-FsQ,4470
|
|
267
269
|
camel/societies/workforce/task_channel.py,sha256=9t5hoinfGYnbRavX4kx34Jk1FOy05SnJZYbNzb5M-CQ,7140
|
|
268
270
|
camel/societies/workforce/utils.py,sha256=yPbcLx8lNZStl15C4UXRBl5qsTrGA-hiIGynnGi53WQ,2384
|
|
269
271
|
camel/societies/workforce/worker.py,sha256=xdUWBW8Qifhhrh4jdK5S_q4LiSEL4NxKuDZN1fgQESA,4135
|
|
270
|
-
camel/societies/workforce/workforce.py,sha256=
|
|
271
|
-
camel/storages/__init__.py,sha256=
|
|
272
|
+
camel/societies/workforce/workforce.py,sha256=lCDzfht5gmu5YtmgU0QeYYCwOnGlpyyQjlPskuIY-gM,41134
|
|
273
|
+
camel/storages/__init__.py,sha256=bFpvvAS2QyZoIr-tnwhMWsZRL411kIRq6IMUHcI7KHs,1989
|
|
272
274
|
camel/storages/graph_storages/__init__.py,sha256=G29BNn651C0WTOpjCl4QnVM-4B9tcNh8DdmsCiONH8Y,948
|
|
273
275
|
camel/storages/graph_storages/base.py,sha256=uSe9jWuLudfm5jtfo6E-L_kNzITwK1_Ef-6L4HWw-JM,2852
|
|
274
276
|
camel/storages/graph_storages/graph_element.py,sha256=X_2orbQOMaQd00xxzAoJLfEcrVNE1mgCqMJv0orMAKA,2733
|
|
@@ -285,15 +287,16 @@ camel/storages/object_storages/amazon_s3.py,sha256=9Yvyyyb1LGHxr8REEza7oGopbVtLE
|
|
|
285
287
|
camel/storages/object_storages/azure_blob.py,sha256=66dHcvjE2ZNdb339oBU6LbFiKzPYrnlb4tQ_3m2Yazc,5992
|
|
286
288
|
camel/storages/object_storages/base.py,sha256=pImWylYJm7Wt8q87lBE1Cxk26IJ9sRtXq_OJmV6bJlg,3796
|
|
287
289
|
camel/storages/object_storages/google_cloud.py,sha256=59AvGar_GDoGYHhzUi5KBtInv2KaUVnw8SalsL43410,5332
|
|
288
|
-
camel/storages/vectordb_storages/__init__.py,sha256=
|
|
290
|
+
camel/storages/vectordb_storages/__init__.py,sha256=GJomO2FAFw-QuRoDnucqBhvnWNAic9pU47VgASeVQoQ,1296
|
|
289
291
|
camel/storages/vectordb_storages/base.py,sha256=EP_WbEtI3SJPHro9rjNkIq9UDUP1AAHmxZgeya94Lgk,6738
|
|
290
292
|
camel/storages/vectordb_storages/faiss.py,sha256=MHE3db9kJmVuu0aScXsSo8p60TCtc2Ot0rO77zcPgt8,26760
|
|
291
293
|
camel/storages/vectordb_storages/milvus.py,sha256=ChQyEuaXCWCKxytLN2z4QrkEthx2xE6bQPO6KCS9RgQ,13535
|
|
292
294
|
camel/storages/vectordb_storages/oceanbase.py,sha256=eNBelw4D6r3OWlhHzGJ8Xw-ej9nU1uTZ6CYoXdbxDkI,17054
|
|
293
295
|
camel/storages/vectordb_storages/qdrant.py,sha256=a_cT0buSCHQ2CPZy852-mdvMDwy5zodCvAKMaa4zIvg,18017
|
|
294
296
|
camel/storages/vectordb_storages/tidb.py,sha256=w83bxgKgso43MtHqlpf2EMSpn1_Nz6ZZtY4fPw_-vgs,11192
|
|
297
|
+
camel/storages/vectordb_storages/weaviate.py,sha256=wDUE4KvfmOl3DqHFU4uF0VKbHu-q9vKhZDe8FZ6QXsk,27888
|
|
295
298
|
camel/tasks/__init__.py,sha256=MuHwkw5GRQc8NOCzj8tjtBrr2Xg9KrcKp-ed_-2ZGIM,906
|
|
296
|
-
camel/tasks/task.py,sha256=
|
|
299
|
+
camel/tasks/task.py,sha256=fRlzbHopy-t4IS_mnjPvRL6RYgKvCH07bWSvRwtijx4,13714
|
|
297
300
|
camel/tasks/task_prompt.py,sha256=3KZmKYKUPcTKe8EAZOZBN3G05JHRVt7oHY9ORzLVu1g,2150
|
|
298
301
|
camel/terminators/__init__.py,sha256=t8uqrkUnXEOYMXQDgaBkMFJ0EXFKI0kmx4cUimli3Ls,991
|
|
299
302
|
camel/terminators/base.py,sha256=xmJzERX7GdSXcxZjAHHODa0rOxRChMSRboDCNHWSscs,1511
|
|
@@ -309,7 +312,7 @@ camel/toolkits/base.py,sha256=7vW2Je9HZqsA1yKwH3aXEGAsjRN1cqeCnsIWfHp6yfE,2386
|
|
|
309
312
|
camel/toolkits/bohrium_toolkit.py,sha256=453t-m0h0IGjurG6tCHUejGzfRAN2SAkhIoY8V-WJpw,11396
|
|
310
313
|
camel/toolkits/browser_toolkit.py,sha256=YLwPWUsTRa-9Rk_JLLPDshI8vSZp052coJ-6IOL1uSM,42462
|
|
311
314
|
camel/toolkits/browser_toolkit_commons.py,sha256=uuc1V5tN3YJmTSe6NHAVJqwsL4iYD7IiSZWxPLYW67A,22196
|
|
312
|
-
camel/toolkits/code_execution.py,sha256=
|
|
315
|
+
camel/toolkits/code_execution.py,sha256=wUbHuGT8VZTBVjCB-IMYRRnDiW4Gw5Ahu_ccqTVzQ7Q,5554
|
|
313
316
|
camel/toolkits/dalle_toolkit.py,sha256=GSnV7reQsVmhMi9sbQy1Ks_5Vs57Dlir_AbT2PPCZwo,6153
|
|
314
317
|
camel/toolkits/dappier_toolkit.py,sha256=ewhXeeUj7e4DiTzuWDA-gHGhrLdyoZ4l9pbijvF3py0,8199
|
|
315
318
|
camel/toolkits/data_commons_toolkit.py,sha256=aHZUSL1ACpnYGaf1rE2csVKTmXTmN8lMGRUBYhZ_YEk,14168
|
|
@@ -326,7 +329,7 @@ camel/toolkits/jina_reranker_toolkit.py,sha256=0OWUlSqRNYYmD5EQZW7OX87lfmzLRjjDm
|
|
|
326
329
|
camel/toolkits/klavis_toolkit.py,sha256=ZKerhgz5e-AV-iv0ftf07HgWikknIHjB3EOQswfuR80,9864
|
|
327
330
|
camel/toolkits/linkedin_toolkit.py,sha256=wn4eXwYYlVA7doTna7k7WYhUqTBF83W79S-UJs_IQr0,8065
|
|
328
331
|
camel/toolkits/math_toolkit.py,sha256=KdI8AJ9Dbq5cfWboAYJUYgSkmADMCO5eZ6yqYkWuiIQ,3686
|
|
329
|
-
camel/toolkits/mcp_toolkit.py,sha256=
|
|
332
|
+
camel/toolkits/mcp_toolkit.py,sha256=I7M25kutT-Y6pAvoSrmhLpscTrR2pZIjxT6MCqU-CEg,23733
|
|
330
333
|
camel/toolkits/memory_toolkit.py,sha256=TeKYd5UMwgjVpuS2orb-ocFL13eUNKujvrFOruDCpm8,4436
|
|
331
334
|
camel/toolkits/meshy_toolkit.py,sha256=NbgdOBD3FYLtZf-AfonIv6-Q8-8DW129jsaP1PqI2rs,7126
|
|
332
335
|
camel/toolkits/mineru_toolkit.py,sha256=vRX9LholLNkpbJ6axfEN4pTG85aWb0PDmlVy3rAAXhg,6868
|
|
@@ -384,20 +387,21 @@ camel/toolkits/open_api_specs/web_scraper/openapi.yaml,sha256=u_WalQ01e8W1D27VnZ
|
|
|
384
387
|
camel/toolkits/open_api_specs/web_scraper/paths/__init__.py,sha256=OKCZrQCDwaWtXIN_2rA9FSqEvgpQRieRoHh7Ek6N16A,702
|
|
385
388
|
camel/toolkits/open_api_specs/web_scraper/paths/scraper.py,sha256=aWy1_ppV4NVVEZfnbN3tu9XA9yAPAC9bRStJ5JuXMRU,1117
|
|
386
389
|
camel/types/__init__.py,sha256=pFTg3CWGSCfwFdoxPDTf4dKV8DdJS1x-bBPuEOmtdf0,2549
|
|
387
|
-
camel/types/enums.py,sha256=
|
|
390
|
+
camel/types/enums.py,sha256=1eqTc3P2utNwr-pwWIrQGQwNXmEZROxguxmKVmWGStI,61549
|
|
388
391
|
camel/types/mcp_registries.py,sha256=dl4LgYtSaUhsqAKpz28k_SA9La11qxqBvDLaEuyzrFE,4971
|
|
389
392
|
camel/types/openai_types.py,sha256=8ZFzLe-zGmKNPfuVZFzxlxAX98lGf18gtrPhOgMmzus,2104
|
|
390
|
-
camel/types/unified_model_type.py,sha256=
|
|
393
|
+
camel/types/unified_model_type.py,sha256=5vHZUnDFkdiWvLXY3CMJnLdlLi5r0-zlvSdBcBXl2RQ,5486
|
|
391
394
|
camel/types/agents/__init__.py,sha256=cbvVkogPoZgcwZrgxLH6EtpGXk0kavF79nOic0Dc1vg,786
|
|
392
395
|
camel/types/agents/tool_calling_record.py,sha256=qa-vLyKvYzWprRkFFl1928xaw9CnfacIebHaqM-oY3s,1814
|
|
393
|
-
camel/utils/__init__.py,sha256=
|
|
396
|
+
camel/utils/__init__.py,sha256=qQeMHZJ8Bbgpm4tBu-LWc_P3iFjXBlVfALdKTiD_s8I,3305
|
|
394
397
|
camel/utils/async_func.py,sha256=KqoktGSWjZBuAMQ2CV0X6FRgHGlzCKLfeaWvp-f1Qz8,1568
|
|
395
398
|
camel/utils/commons.py,sha256=hJNvcegHXruFkPaFHh6r9kwHErN9j4vbkLUhSbInbNU,37067
|
|
396
399
|
camel/utils/constants.py,sha256=cqnxmpUeOwrtsR-tRO4bbOc6ZP19TLj7avjm3FONMJs,1410
|
|
397
400
|
camel/utils/deduplication.py,sha256=UHikAtOW1TTDunf2t_wa2kFbmkrXWf7HfOKwLvwCxzo,8958
|
|
398
401
|
camel/utils/filename.py,sha256=HYNc1wbSCgNR1CN21cwHxdAhpnsf5ySJ6jUDfeqOK20,2532
|
|
402
|
+
camel/utils/langfuse.py,sha256=OowR6A790XG-b0UHiTYduYvS18PvSGFdmqki2Poogo0,8578
|
|
399
403
|
camel/utils/mcp.py,sha256=iuthL8VuUXIRU34Nvx8guq7frfglpZoxewUKuAg3e1s,5077
|
|
400
|
-
camel/utils/mcp_client.py,sha256=
|
|
404
|
+
camel/utils/mcp_client.py,sha256=JXWRKcp7bO7A_fYjEV62G-oOy1etrbiRICt2SXVYcJo,37103
|
|
401
405
|
camel/utils/response_format.py,sha256=xZcx6xBxeg3A0e7R0JCMJdNm2oQ1-diqVLs0JsiCkZU,5319
|
|
402
406
|
camel/utils/token_counting.py,sha256=apkERzNoVc4sgvJvWVosvepX3KH8pVypVjrL4AA7RB4,17521
|
|
403
407
|
camel/utils/chunker/__init__.py,sha256=6iN6HL6sblIjDuJTILk-9qKcHBZ97t8b6tZCWPZ0OYI,899
|
|
@@ -410,7 +414,7 @@ camel/verifiers/math_verifier.py,sha256=tA1D4S0sm8nsWISevxSN0hvSVtIUpqmJhzqfbuMo
|
|
|
410
414
|
camel/verifiers/models.py,sha256=GdxYPr7UxNrR1577yW4kyroRcLGfd-H1GXgv8potDWU,2471
|
|
411
415
|
camel/verifiers/physics_verifier.py,sha256=c1grrRddcrVN7szkxhv2QirwY9viIRSITWeWFF5HmLs,30187
|
|
412
416
|
camel/verifiers/python_verifier.py,sha256=ogTz77wODfEcDN4tMVtiSkRQyoiZbHPY2fKybn59lHw,20558
|
|
413
|
-
camel_ai-0.2.
|
|
414
|
-
camel_ai-0.2.
|
|
415
|
-
camel_ai-0.2.
|
|
416
|
-
camel_ai-0.2.
|
|
417
|
+
camel_ai-0.2.64.dist-info/METADATA,sha256=SgLzD7FBrQjTFdCW0K4iyebmgXKYUp-6Hn7HHta4z54,45237
|
|
418
|
+
camel_ai-0.2.64.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
419
|
+
camel_ai-0.2.64.dist-info/licenses/LICENSE,sha256=id0nB2my5kG0xXeimIu5zZrbHLS6EQvxvkKkzIHaT2k,11343
|
|
420
|
+
camel_ai-0.2.64.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|