🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
6647 matches across 20 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/test_all_exports.py | 16 | def test_all_exports_from_camel(): |
| LOW | test/conftest.py | 50 | def pytest_collection_modifyitems(config: Config, items: List[Item]) -> None: |
| LOW | test/test_generators.py | 22 | def test_system_message_generator(): |
| LOW | test/test_generators.py | 63 | def test_task_prompt_generator(): |
| LOW | test/terminators/test_response_terminator.py | 39 | def test_response_words_termination(mode): |
| LOW | test/terminators/test_token_limit_terminator.py | 20 | def test_token_limit_termination(num_tokens): |
| LOW | test/data_collectors/test_sharegpt_collector.py | 60 | def test_sharegpt_llm_converter(): |
| LOW | test/data_collectors/test_alpaca_collector.py | 55 | def test_alpaca_llm_converter(): |
| LOW | test/bots/test_discord_app.py | 32 | def test_init_with_token_from_env(self, mock_discord_client): |
| LOW | test/bots/test_discord_app.py | 40 | def test_init_with_provided_token(self, mock_discord_client): |
| LOW | test/bots/test_discord_app.py | 47 | def test_init_raises_value_error_without_token(self, mock_discord_client): |
| LOW | test/bots/test_discord_app.py | 66 | async def test_on_message_ignore_own_message(self, mock_discord_client): |
| LOW | test/bots/test_discord_app.py | 76 | async def test_on_message_respond_in_allowed_channel( |
| LOW | test/bots/test_discord_app.py | 93 | async def test_on_message_ignore_non_mentioned_message( |
| LOW | test/bots/test_discord_app.py | 107 | async def test_on_message_ignore_outside_channel( |
| LOW | test/bots/test_slack_app.py | 43 | def test_init_without_token_raises_error(self, mock_async_app): |
| LOW | test/bots/test_telegram_bot.py | 26 | def test_init_token_provided_uses_provided_token(self): |
| LOW | test/integration_test/test_minimal_dependency.py | 33 | def test_minimum_deps_module_importable(module_path): |
| LOW | test/integration_test/test_minimal_dependency.py | 59 | def test_example_runs_or_skips(example_path): |
| LOW | test/interpreters/test_subprocess_interpreter.py | 88 | def test_run_unsupported_code_type(subprocess_interpreter): |
| LOW | test/interpreters/test_subprocess_interpreter.py | 120 | def test_r_code_type_variants(subprocess_interpreter): |
| LOW | test/interpreters/test_python_interpreter.py | 289 | def test_augassign_operations(interpreter: InternalPythonInterpreter): |
| LOW | test/interpreters/test_python_interpreter.py | 395 | def test_unsafe_mode_complex_operations(unsafe_interpreter): |
| LOW | test/interpreters/test_python_interpreter.py | 423 | def not_allow_builtins_interpreter(): |
| LOW | test/interpreters/test_docker_interpreter.py | 130 | def test_r_code_type_variants(docker_interpreter: DockerInterpreter): |
| LOW | test/interpreters/test_docker_interpreter.py | 141 | def test_run_unsupported_code_type(docker_interpreter: DockerInterpreter): |
| LOW | test/interpreters/test_microsandbox_interpreter.py | 59 | def test_supported_code_types(): |
| LOW | test/interpreters/test_microsandbox_interpreter.py | 74 | def test_unsupported_language(interpreter): |
| LOW | test/retrievers/test_hybrid_retriever.py | 52 | def test_sort_rrf_scores_integration(mock_hybrid_retriever): |
| LOW | test/retrievers/test_auto_retriever.py | 45 | def test__initialize_vector_storage(auto_retriever): |
| LOW | test/retrievers/test_auto_retriever.py | 51 | def test_run_vector_retriever(auto_retriever): |
| LOW | test/retrievers/test_auto_retriever.py | 66 | def test_run_vector_retriever_with_element_input(auto_retriever): |
| LOW | test/retrievers/test_vector_retriever.py | 47 | def mock_unstructured_modules(): |
| LOW | test/retrievers/test_vector_retriever.py | 53 | def test_initialization_with_custom_embedding( |
| LOW | test/retrievers/test_vector_retriever.py | 60 | def test_initialization_with_default_embedding(): |
| LOW | test/retrievers/test_bm25_retriever.py | 23 | def mock_unstructured_modules(): |
| LOW | test/retrievers/test_bm25_retriever.py | 77 | def test_query_without_initialization(): |
| LOW | test/retrievers/test_retrievers_decorators.py | 44 | def test_auto_retriever_missing_dependency(): |
| LOW | test/retrievers/test_retrievers_decorators.py | 86 | def test_cohere_rerank_retriever_missing_dependency(): |
| LOW | test/retrievers/test_retrievers_decorators.py | 101 | def test_hybrid_retrieval_missing_dependency(): |
| LOW | test/retrievers/test_retrievers_decorators.py | 112 | def test_jina_rerank_retriever_missing_dependency(): |
| LOW | test/retrievers/test_retrievers_decorators.py | 123 | def test_vector_retriever_missing_dependency(): |
| LOW | test/retrievers/test_retrievers_decorators.py | 136 | def test_cohere_rerank_retriever_api_keys(): |
| LOW | test/retrievers/test_retrievers_decorators.py | 149 | def test_jina_rerank_retriever_api_keys(): |
| LOW | test/retrievers/test_jina_rerank_retriever.py | 29 | def test_initialization_with_custom_model(): |
| LOW | test/retrievers/test_jina_rerank_retriever.py | 35 | def test_initialization_without_api_key(): |
| LOW | test/retrievers/test_jina_rerank_retriever.py | 43 | def test_initialization_with_explicit_api_key(): |
| LOW | test/retrievers/test_jina_rerank_retriever.py | 129 | def test_query_with_content_key(mock_post, jina_rerank): |
| LOW | test/storages/vector_storages/test_tidb.py | 39 | def test_multiple_remote_clients(mock_tidb_storage): |
| LOW | test/storages/vector_storages/test_surreal.py | 105 | def test_distance_to_similarity( |
| LOW | test/storages/vector_storages/test_oceanbase.py | 109 | def test_oceanbase_storage_initialization(mock_ob_client): |
| LOW | test/storages/vector_storages/test_oceanbase.py | 154 | def test_oceanbase_storage_operations(mock_ob_client): |
| LOW | test/storages/vector_storages/test_oceanbase.py | 211 | def test_distance_to_similarity_conversion(): |
| LOW | test/storages/vector_storages/test_oceanbase.py | 250 | def test_stable_sigmoid_overflow(): |
| LOW | test/storages/vector_storages/test_oceanbase.py | 290 | def test_inner_product_distance_metrics(): |
| LOW | test/storages/vector_storages/test_oceanbase.py | 390 | def test_query_with_where_clause(mock_ob_client): |
| LOW | test/storages/vector_storages/test_oceanbase.py | 446 | def test_query_without_where_clause(mock_ob_client): |
| LOW | test/storages/vector_storages/test_oceanbase.py | 497 | def test_all_distance_metrics_initialization(distance): |
| LOW | test/storages/vector_storages/test_all_vectordbs.py | 92 | def test_get_payload_by_vector(storage: BaseVectorStorage): |
| LOW | test/storages/vector_storages/test_milvus.py | 104 | def test_multiple_remote_clients(mock_milvus_storage): |
| 2067 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/interpreters/test_jupyterkernel_interpreter.py | 0 | def add(a, b): return a + b def multiply(a, b): return a * b def subtract(a, b): return a - b def main(): a = 10 b = 20 |
| HIGH | test/interpreters/test_docker_interpreter.py | 0 | def add(a, b): return a + b def multiply(a, b): return a * b def subtract(a, b): return a - b def main(): a = 10 b = 20 |
| HIGH | examples/interpreters/ipython_interpreter_example.py | 0 | def add(a, b): return a + b def multiply(a, b): return a * b def subtract(a, b): return a - b def main(): a = 10 b = 20 |
| HIGH | test/retrievers/test_cohere_rerank_retriever.py | 0 | /users/enrei/desktop/camel/camel/retrievers/ camel.pdf |
| HIGH | test/retrievers/test_cohere_rerank_retriever.py | 0 | /users/enrei/desktop/camel/camel/retrievers/ camel.pdf |
| HIGH | test/retrievers/test_cohere_rerank_retriever.py | 0 | /users/enrei/desktop/camel/camel/retrievers/ camel.pdf |
| HIGH | test/retrievers/test_retrievers_decorators.py | 0 | raises importerror when specified module is in @dependencies_required |
| HIGH | test/retrievers/test_retrievers_decorators.py | 0 | raises importerror when specified module is in @dependencies_required |
| HIGH | test/retrievers/test_retrievers_decorators.py | 0 | raises importerror when specified module is in @dependencies_required |
| HIGH | test/retrievers/test_retrievers_decorators.py | 0 | raises importerror when specified module is in @dependencies_required |
| HIGH | test/retrievers/test_retrievers_decorators.py | 0 | raises importerror when specified module is in @dependencies_required |
| HIGH | test/toolkits/test_web_deploy_toolkit.py | 0 | test that get_tools returns the correct function tools. |
| HIGH | test/toolkits/test_sql_toolkit.py | 0 | test that get_tools returns the correct function tools. |
| HIGH | test/toolkits/test_file_toolkit.py | 0 | test that get_tools returns the correct function tools. |
| HIGH | test/toolkits/test_open_api_function.py | 0 | use all information in the api response and fully render all markdown.\nalways end your response with a link to report a |
| HIGH | test/toolkits/test_open_api_function.py | 0 | use all information in the api response and fully render all markdown.\nalways end your response with a link to report a |
| HIGH | test/toolkits/test_open_api_function.py | 0 | use all information in the api response and fully render all markdown.\nalways end your response with a link to report a |
| HIGH | test/models/test_moonshot_model.py | 0 | test that interleaved_thinking configuration is properly set. |
| HIGH | test/models/test_volcano_model.py | 0 | test that interleaved_thinking configuration is properly set. |
| HIGH | test/models/test_zhipuai_model.py | 0 | test that interleaved_thinking configuration is properly set. |
| HIGH | test/models/test_moonshot_model.py | 0 | test that interleaved_thinking is disabled by default. |
| HIGH | test/models/test_volcano_model.py | 0 | test that interleaved_thinking is disabled by default. |
| HIGH | test/models/test_zhipuai_model.py | 0 | test that interleaved_thinking is disabled by default. |
| HIGH | test/models/test_moonshot_model.py | 0 | test reasoning_content injection into assistant messages. |
| HIGH | test/models/test_volcano_model.py | 0 | test reasoning_content injection into assistant messages. |
| HIGH | test/models/test_zhipuai_model.py | 0 | test reasoning_content injection into assistant messages. |
| HIGH | test/models/test_moonshot_model.py | 0 | test that reasoning_content is not injected when disabled. |
| HIGH | test/models/test_volcano_model.py | 0 | test that reasoning_content is not injected when disabled. |
| HIGH | test/models/test_zhipuai_model.py | 0 | test that reasoning_content is not injected when disabled. |
| HIGH | test/models/test_moonshot_model.py | 0 | test extraction of reasoning_content from response. |
| HIGH | test/models/test_volcano_model.py | 0 | test extraction of reasoning_content from response. |
| HIGH | test/models/test_zhipuai_model.py | 0 | test extraction of reasoning_content from response. |
| HIGH | test/models/test_moonshot_model.py | 0 | test extraction returns none when no reasoning_content. |
| HIGH | test/models/test_volcano_model.py | 0 | test extraction returns none when no reasoning_content. |
| HIGH | test/models/test_zhipuai_model.py | 0 | test extraction returns none when no reasoning_content. |
| HIGH | camel/storages/vectordb_storages/qdrant.py | 0 | provides access to the underlying vector database client. |
| HIGH | camel/storages/vectordb_storages/weaviate.py | 0 | provides access to the underlying vector database client. |
| HIGH | camel/storages/vectordb_storages/base.py | 0 | provides access to the underlying vector database client. |
| HIGH | camel/storages/vectordb_storages/weaviate.py | 0 | deletes a list of vectors identified by their ids from the storage. args: ids (list[str]): list of unique identifiers fo |
| HIGH | camel/storages/vectordb_storages/oceanbase.py | 0 | deletes a list of vectors identified by their ids from the storage. args: ids (list[str]): list of unique identifiers fo |
| HIGH | camel/storages/vectordb_storages/base.py | 0 | deletes a list of vectors identified by their ids from the storage. args: ids (list[str]): list of unique identifiers fo |
| HIGH | camel/storages/vectordb_storages/weaviate.py | 0 | returns status of the vector database. returns: vectordbstatus: the vector database status. |
| HIGH | camel/storages/vectordb_storages/oceanbase.py | 0 | returns status of the vector database. returns: vectordbstatus: the vector database status. |
| HIGH | camel/storages/vectordb_storages/base.py | 0 | returns status of the vector database. returns: vectordbstatus: the vector database status. |
| HIGH | camel/storages/key_value_storages/redis.py | 0 | loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, where |
| HIGH | camel/storages/key_value_storages/json.py | 0 | loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, where |
| HIGH | camel/storages/key_value_storages/base.py | 0 | loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, where |
| HIGH | camel/storages/key_value_storages/in_memory.py | 0 | loads all stored records from the key-value storage system. returns: list[dict[str, any]]: a list of dictionaries, where |
| HIGH | camel/storages/key_value_storages/redis.py | 0 | removes all records from the key-value storage system. |
| HIGH | camel/storages/key_value_storages/json.py | 0 | removes all records from the key-value storage system. |
| HIGH | camel/storages/key_value_storages/base.py | 0 | removes all records from the key-value storage system. |
| HIGH | camel/storages/key_value_storages/in_memory.py | 0 | removes all records from the key-value storage system. |
| HIGH | camel/storages/key_value_storages/json.py | 0 | saves a batch of records to the key-value storage system. args: records (list[dict[str, any]]): a list of dictionaries, |
| HIGH | camel/storages/key_value_storages/base.py | 0 | saves a batch of records to the key-value storage system. args: records (list[dict[str, any]]): a list of dictionaries, |
| HIGH | camel/storages/key_value_storages/in_memory.py | 0 | saves a batch of records to the key-value storage system. args: records (list[dict[str, any]]): a list of dictionaries, |
| HIGH | camel/messages/conversion/conversation_models.py | 0 | represents a single tool/function call with validation |
| HIGH | …onversion/sharegpt/hermes/hermes_function_formatter.py | 0 | represents a single tool/function call with validation |
| HIGH | …onversion/sharegpt/hermes/hermes_function_formatter.py | 0 | represents a single tool/function call with validation |
| HIGH | camel/embeddings/openai_embedding.py | 0 | generates embeddings for the given texts. args: objs (list[str]): the texts for which to generate the embeddings. **kwar |
| HIGH | camel/embeddings/gemini_embedding.py | 0 | generates embeddings for the given texts. args: objs (list[str]): the texts for which to generate the embeddings. **kwar |
| 173 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/test_all_exports.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/conftest.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/test_generators.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/test_human.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/terminators/test_response_terminator.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/terminators/test_token_limit_terminator.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/data_collectors/test_sharegpt_collector.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/data_collectors/test_alpaca_collector.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/bots/test_discord_app.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/bots/test_slack_app.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/bots/test_telegram_bot.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/integration_test/test_minimal_dependency.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/interpreters/test_subprocess_interpreter.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/interpreters/test_python_interpreter.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/interpreters/test_jupyterkernel_interpreter.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/interpreters/test_docker_interpreter.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/interpreters/test_microsandbox_interpreter.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/retrievers/test_hybrid_retriever.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/retrievers/test_auto_retriever.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/retrievers/test_cohere_rerank_retriever.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/retrievers/test_vector_retriever.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/retrievers/test_bm25_retriever.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/retrievers/test_retrievers_decorators.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/retrievers/test_jina_rerank_retriever.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_tidb.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_surreal.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_oceanbase.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_all_vectordbs.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_milvus.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_qdrant.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_pgvector.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_weaviate.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/vector_storages/test_faiss.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/key_value_storages/test_redis.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | …storages/key_value_storages/test_key_value_storages.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/key_value_storages/test_mem0_cloud.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/graph_storages/test_graph_element.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/graph_storages/test_nebula_graph.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/graph_storages/test_neo4j_graph.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/object_storages/test_azure_blob.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/object_storages/test_google_cloud.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/storages/object_storages/test_amazon_s3.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/tasks/test_task.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/messages/test_message_base.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/messages/test_func_message.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/messages/test_chat_message.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_azure_embedding.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_vlm_embeddings.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_mistral_embedding.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_jina_embedding.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_embeddings_decorators.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_openai_compatible_embedding.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_openai_embedding.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_gemini_embedding.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/embeddings/test_open_source_embeddings.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/environments/test_multi_step_env.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/environments/test_tictactoe_env.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/environments/test_single_step_env.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/datasets/test_self_instruct_generator.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| LOW | test/datasets/test_base_dataset.py | 1 | # ========= Copyright 2023-2026 @ CAMEL-AI.org. All Rights Reserved. ========= |
| 1081 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | camel/generators.py | 130 | Generates a list of system messages from a list of dictionaries. Args: meta_dicts (List[Dict[str, s |
| HIGH | camel/data_collectors/alpaca_collector.py | 109 | Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConvert |
| HIGH | camel/data_collectors/sharegpt_collector.py | 156 | Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConvert |
| HIGH | camel/bots/discord/discord_app.py | 143 | Exchange the authorization code for an access token. Args: code (str): The authorization code recei |
| HIGH | camel/societies/workforce/workforce.py | 1577 | Unified task analysis for both failures and quality evaluation. This method consolidates the logic for analyzin |
| HIGH | camel/societies/workforce/workforce.py | 2963 | Add a worker node to the workforce that uses a single agent. Can be called when workforce is paused to dynamical |
| HIGH | camel/societies/workforce/workforce.py | 3029 | Add a worker node to the workforce that uses `RolePlaying` system. Can be called when workforce is paused to dyn |
| HIGH | camel/societies/workforce/workforce.py | 3098 | Add a workforce node to the workforce. Can be called when workforce is paused to dynamically add workers. |
| HIGH | camel/societies/workforce/utils.py | 445 | Add a task to the pipeline with support for chaining. Args: content (str): The content/description |
| HIGH | camel/societies/workforce/utils.py | 517 | Add multiple parallel tasks that can execute simultaneously. Args: task_contents (List[str]): List |
| HIGH | camel/societies/workforce/utils.py | 578 | Add a synchronization task that waits for multiple tasks. Args: content (str): Content of the synch |
| HIGH | camel/interpreters/ipython_interpreter.py | 122 | Executes the given code in the Jupyter kernel. Args: code (str): The code string to execute. |
| HIGH | camel/interpreters/docker_interpreter.py | 213 | Executes the given code in the container attached to the interpreter, and captures the stdout and stderr streams |
| HIGH | camel/interpreters/docker_interpreter.py | 292 | Executes a command in the Docker container and returns its output. Args: command (str): The command |
| HIGH | camel/interpreters/e2b_interpreter.py | 114 | Executes the given code in the e2b sandbox. Args: code (str): The code string to execute. |
| HIGH | camel/interpreters/microsandbox_interpreter.py | 126 | Executes the given code in the microsandbox. Args: code (str): The code string to execute. |
| HIGH | camel/interpreters/microsandbox_interpreter.py | 159 | Asynchronously executes code in microsandbox. Args: code (str): The code to execute. co |
| HIGH | camel/interpreters/microsandbox_interpreter.py | 334 | Execute a shell command in the microsandbox. This method is designed for package management and system |
| HIGH | camel/interpreters/microsandbox_interpreter.py | 363 | Asynchronously executes a shell command in microsandbox. Args: command (str): The shell command to |
| HIGH | camel/interpreters/internal_python_interpreter.py | 153 | Executes the given code with specified code type in the interpreter. This method takes a string of code |
| HIGH | camel/interpreters/subprocess_interpreter.py | 273 | Generates a temporary file with the given code, executes it, and deletes the file afterward. Args: |
| HIGH | camel/interpreters/subprocess_interpreter.py | 430 | Executes a shell command in a subprocess and captures its output. Args: command (str): The shell co |
| HIGH | camel/interpreters/base.py | 23 | Executes the given code based on its type. Args: code (str): The code to be executed. c |
| HIGH | camel/retrievers/hybrid_retrival.py | 68 | Sorts and combines results from vector and BM25 retrievers using Reciprocal Rank Fusion (RRF). Args: |
| HIGH | camel/retrievers/jina_rerank_retriever.py | 87 | Queries and compiles results using the Jina AI re-ranking model. Args: query (str): Query string fo |
| HIGH | camel/retrievers/bm25_retriever.py | 92 | Executes a query and compiles the results. Args: query (str): Query string for information retrieve |
| HIGH | camel/retrievers/vector_retriever.py | 205 | Executes a query in vector storage and compiles the retrieved results into a dictionary. Args: |
| HIGH | camel/retrievers/auto_retriever.py | 179 | Executes the automatic vector retriever process using vector storage. Args: query (str): Qu |
| HIGH | camel/storages/vectordb_storages/qdrant.py | 331 | Deletes points from the collection based on either IDs or payload filters. Args: ids (Optio |
| HIGH | camel/storages/vectordb_storages/faiss.py | 413 | Deletes vectors from the index based on either IDs or payload filters. Args: ids (Optional[ |
| HIGH | camel/storages/vectordb_storages/chroma.py | 39 | An implementation of the `BaseVectorStorage` for interacting with ChromaDB, a vector database for embeddings. Ch |
| HIGH | camel/storages/vectordb_storages/chroma.py | 531 | Searches for similar vectors in ChromaDB based on the provided query. Args: query (VectorDB |
| HIGH | camel/storages/vectordb_storages/oceanbase.py | 296 | Searches for similar vectors in the storage based on the provided query. Args: query (Vecto |
| HIGH | camel/storages/graph_storages/nebula_graph.py | 139 | Execute a query on the graph store. Args: query (str): The Cypher-like query to be executed. |
| HIGH | camel/storages/graph_storages/nebula_graph.py | 618 | Validates the format of a time label string. Args: time_label (str): The time label string to valid |
| HIGH | camel/storages/graph_storages/neo4j_graph.py | 215 | Executes a Neo4j Cypher declarative query in a database. Args: query (str): The Cypher query to be |
| HIGH | camel/messages/conversion/alpaca.py | 55 | Creates an AlpacaItem from a formatted string. Args: text: String in either of these formats: |
| HIGH | camel/types/mcp_registries.py | 56 | Set the default OS based on the current platform if not provided. Args: values (Dict): The values d |
| HIGH | camel/embeddings/vlm_embedding.py | 108 | Generates embeddings for the given images or texts. Args: objs (List[Image.Image|str]): The list of |
| HIGH | camel/embeddings/together_embedding.py | 75 | Generates embeddings for the given texts. Args: objs (list[str]): The texts for which to generate t |
| HIGH | camel/embeddings/jina_embedding.py | 95 | Generates embeddings for the given texts or images. Args: objs (list[Union[str, Image.Image]]): The |
| HIGH | camel/environments/single_step.py | 144 | Resets the environment and starts a new episode. This method samples a new batch of data points from the datase |
| HIGH | camel/environments/single_step.py | 274 | Execute one interaction step in the environment using the proposed solution. This method processes the |
| HIGH | camel/environments/single_step.py | 454 | Normalize the user-provided action(s) into a validated list of `Action` objects. This method handles fl |
| HIGH | camel/environments/multi_step.py | 138 | Take a step in the environment using the given action. This method updates the environment state based on the L |
| HIGH | camel/datasets/few_shot_generator.py | 130 | Generates and validates `n` new datapoints through few-shot prompting, with a retry limit. Steps: |
| HIGH | camel/datasets/static_dataset.py | 103 | Convert input data from various formats into a list of :obj:`DataPoint` instances. Args: da |
| HIGH | camel/datasets/static_dataset.py | 203 | Retrieve a datapoint or a batch of datapoints by index or slice. Args: idx (Union[int, slice]): Ind |
| HIGH | camel/datasets/static_dataset.py | 273 | Convert a PyTorch dataset into a list of dictionaries. Args: data (Dataset): A PyTorch dataset. |
| HIGH | camel/datasets/static_dataset.py | 308 | Load and parse a dataset from a JSON file. Args: data (Path): Path to the JSON file. Retur |
| HIGH | camel/datasets/static_dataset.py | 344 | Load and parse a dataset from a JSONL file. Args: data (Path): Path to the JSONL file. Ret |
| HIGH | camel/datasets/static_dataset.py | 388 | Validate and convert a list of dictionaries into a dataset. Args: data (List[Dict[str, Any]]): A li |
| HIGH | camel/datasets/static_dataset.py | 459 | Save the dataset to the Hugging Face Hub using the project's HuggingFaceDatasetManager. Args: |
| HIGH | camel/datasets/base_generator.py | 211 | Saves the generated datapoints to a JSONL (JSON Lines) file. Each datapoint is stored as a separate JSON object |
| HIGH | camel/datasets/base_generator.py | 258 | Load and parse a dataset from a JSONL file. Args: file_path (Path): Path to the JSONL file. |
| HIGH | camel/datasets/base_generator.py | 299 | Get a datapoint by index without removing the datapoint from _data. Args: index (int): Index of the |
| HIGH | camel/runtimes/docker_runtime.py | 142 | Run a command inside this container. Similar to `docker exec`. Args: task (TaskConfig): The configu |
| HIGH | camel/verifiers/python_verifier.py | 469 | Compares two Python objects for equality with optional float tolerance. This method recursively compare |
| HIGH | camel/verifiers/base.py | 168 | Perform verification with full error handling. This method verifies the correctness of a generated solution by |
| HIGH | camel/verifiers/base.py | 286 | Abstract method for verification logic. Subclasses must implement this method to define how the solution |
| 108 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/retrievers/test_hybrid_retriever.py | 32 | # Create an instance of HybridRetriever |
| MEDIUM | test/retrievers/test_auto_retriever.py | 27 | # Define the path to the temporary storage |
| MEDIUM | test/retrievers/test_vector_retriever.py | 67 | # Create a VectorRetriever instance |
| MEDIUM | test/retrievers/test_bm25_retriever.py | 37 | # Create a mock chunk with metadata |
| MEDIUM | test/storages/vector_storages/test_oceanbase.py | 110 | # Create a mock factory that returns a new mock IndexParams with iterator |
| MEDIUM | test/storages/vector_storages/test_oceanbase.py | 155 | # Create a mock factory that returns a new mock IndexParams with iterator |
| MEDIUM | test/storages/vector_storages/test_oceanbase.py | 212 | # Create a mock factory that returns a new mock IndexParams with iterator |
| MEDIUM | test/storages/key_value_storages/test_mem0_cloud.py | 35 | # Create a mock for the Mem0 client |
| MEDIUM | test/storages/graph_storages/test_nebula_graph.py | 53 | # Initialize the NebulaGraph instance with the mocks |
| MEDIUM | test/storages/graph_storages/test_nebula_graph.py | 306 | # Create a GraphElement with nodes and optional source |
| MEDIUM | test/storages/graph_storages/test_nebula_graph.py | 331 | # Create a GraphElement with relationships and optional source |
| MEDIUM | test/storages/graph_storages/test_nebula_graph.py | 431 | # Create a GraphElement instance with nodes, relationships, and source |
| MEDIUM | test/embeddings/test_jina_embedding.py | 37 | # Initialize embedding instance |
| MEDIUM | test/embeddings/test_jina_embedding.py | 61 | # Create a dummy image |
| MEDIUM | test/embeddings/test_jina_embedding.py | 64 | # Initialize embedding instance with CLIP model |
| MEDIUM | test/embeddings/test_jina_embedding.py | 95 | # Initialize embedding instance with options |
| MEDIUM | test/embeddings/test_jina_embedding.py | 135 | # Initialize embedding instance |
| MEDIUM | test/embeddings/test_openai_compatible_embedding.py | 39 | # Initialize the OpenAICompatibleEmbedding object |
| MEDIUM | test/embeddings/test_openai_compatible_embedding.py | 74 | # Initialize the OpenAICompatibleEmbedding object |
| MEDIUM | test/embeddings/test_gemini_embedding.py | 39 | # Create the embedding instance and test embed_list |
| MEDIUM | test/embeddings/test_gemini_embedding.py | 72 | # Create the embedding instance with task type and test embed_list |
| MEDIUM | test/environments/test_multi_step_env.py | 65 | # Create a mock extractor |
| MEDIUM | test/environments/test_multi_step_env.py | 157 | # Create a new environment with max_steps=1 |
| MEDIUM | test/environments/test_single_step_env.py | 144 | # Define a sample dataset |
| MEDIUM | test/environments/test_single_step_env.py | 161 | # Create a mock verifier |
| MEDIUM | test/environments/test_single_step_env.py | 394 | # Create a mock verifier |
| MEDIUM | test/environments/test_single_step_env.py | 482 | # Define a valid dataset |
| MEDIUM | test/environments/test_single_step_env.py | 948 | # Define a simple dataset |
| MEDIUM | test/environments/test_single_step_env.py | 965 | # Create a mock verifier |
| MEDIUM | test/datasets/test_base_dataset.py | 1313 | # Create a real implementation of generate_new for testing |
| MEDIUM | test/datasets/test_base_dataset.py | 1330 | # Create a mock verifier |
| MEDIUM | test/datasets/test_base_dataset.py | 1381 | # Create a test data point that would be generated |
| MEDIUM | test/datasets/test_base_dataset.py | 1394 | # Create a real implementation of generate_new that simulates retries and |
| MEDIUM | test/datasets/test_base_dataset.py | 1417 | # Create a mock verifier |
| MEDIUM | test/workforce/test_workflow_memory.py | 67 | # Create a mock agent with conversation history |
| MEDIUM | test/workforce/test_workflow_memory.py | 889 | # Creating a file should create the directory |
| MEDIUM | test/workforce/test_workflow_memory.py | 1011 | # Create a test workflow file |
| MEDIUM | test/workforce/test_workflow_memory.py | 1339 | # Create a workforce with share_memory enabled |
| MEDIUM | test/workforce/test_workflow_memory.py | 1278 | # Create a side_effect function that returns properly |
| MEDIUM | test/workforce/test_workforce_single_agent.py | 32 | # Create a dummy agent - won't be used since we override _process_task |
| MEDIUM | test/workforce/test_workforce_single_agent.py | 101 | # Create a task to test with |
| MEDIUM | test/workforce/test_workforce_single_agent.py | 130 | # Create a task to test with |
| MEDIUM | test/agents/test_chat_agent.py | 2026 | # Create an async generator that wraps the chunks |
| MEDIUM | test/agents/test_chat_agent.py | 1812 | # Create an all blue PNG image: |
| MEDIUM | test/agents/test_chat_agent.py | 1915 | # Create an agent with a specific system message |
| MEDIUM | test/agents/test_chat_agent.py | 1930 | # Create a new memory instance |
| MEDIUM | test/agents/test_chat_agent.py | 2097 | # Define a simple test tool |
| MEDIUM | test/agents/test_repo_agent.py | 100 | # Create a mock that is recognized as a BaseModelBackend instance |
| MEDIUM | test/agents/test_repo_agent.py | 181 | # Create a more complete mock for the file content |
| MEDIUM | test/agents/test_repo_agent.py | 290 | # Create a proper ChatAgentResponse mock |
| MEDIUM | test/toolkits/test_note_taking_toolkit.py | 24 | # Create a toolkit with a temporary directory |
| MEDIUM | test/toolkits/test_note_taking_toolkit.py | 107 | # Create a note |
| MEDIUM | test/toolkits/test_note_taking_toolkit.py | 110 | # Create a new toolkit instance with the same directory |
| MEDIUM | test/toolkits/test_todo_toolkit.py | 169 | # Create a new instance pointing to the same directory |
| MEDIUM | test/toolkits/test_notion_toolkit.py | 132 | # Create a NotionToolkit instance |
| MEDIUM | test/toolkits/test_excel_toolkit.py | 269 | # Create a file first |
| MEDIUM | test/toolkits/test_microsoft_outlook_mail_toolkit.py | 114 | # Create a mock credentials object to avoid OAuth authentication |
| MEDIUM | test/toolkits/test_context_summarizer_toolkit.py | 44 | # Create a mock model backend that behaves like a real one |
| MEDIUM | test/toolkits/test_context_summarizer_toolkit.py | 61 | # Create a conversation about travel planning |
| MEDIUM | test/toolkits/test_context_summarizer_toolkit.py | 131 | # Create a mock summary agent |
| 258 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/workforce/test_workforce_pipeline.py | 30 | |
| LOW | test/workforce/test_workflow_memory.py | 29 | |
| LOW | test/toolkits/test_pyautogui_toolkit.py | 23 | |
| LOW | test/utils/test_stream_utils.py | 15 | |
| LOW | test/loaders/test_markitdown.py | 22 | |
| LOW | camel/__init__.py | 15 | |
| LOW | camel/__init__.py | 15 | |
| LOW | camel/__init__.py | 15 | |
| LOW | camel/terminators/__init__.py | 14 | |
| LOW | camel/terminators/__init__.py | 15 | |
| LOW | camel/terminators/__init__.py | 15 | |
| LOW | camel/terminators/__init__.py | 16 | |
| LOW | camel/data_collectors/__init__.py | 15 | |
| LOW | camel/data_collectors/__init__.py | 16 | |
| LOW | camel/data_collectors/__init__.py | 17 | |
| LOW | camel/bots/telegram_bot.py | 22 | |
| LOW | camel/bots/__init__.py | 14 | |
| LOW | camel/bots/__init__.py | 15 | |
| LOW | camel/bots/__init__.py | 15 | |
| LOW | camel/bots/__init__.py | 15 | |
| LOW | camel/bots/__init__.py | 15 | |
| LOW | camel/bots/__init__.py | 15 | |
| LOW | camel/bots/__init__.py | 22 | |
| LOW | camel/bots/__init__.py | 23 | |
| LOW | camel/bots/discord/discord_app.py | 29 | |
| LOW | camel/bots/discord/__init__.py | 14 | |
| LOW | camel/bots/discord/__init__.py | 15 | |
| LOW | camel/bots/discord/__init__.py | 16 | |
| LOW | camel/bots/discord/__init__.py | 16 | |
| LOW | camel/bots/slack/__init__.py | 14 | |
| LOW | camel/bots/slack/__init__.py | 14 | |
| LOW | camel/bots/slack/__init__.py | 14 | |
| LOW | camel/bots/slack/__init__.py | 14 | |
| LOW | camel/bots/slack/__init__.py | 14 | |
| LOW | camel/bots/slack/__init__.py | 21 | |
| LOW | camel/bots/slack/slack_app.py | 32 | |
| LOW | camel/bots/slack/slack_app.py | 33 | |
| LOW | camel/bots/slack/slack_app.py | 34 | |
| LOW | camel/societies/__init__.py | 14 | |
| LOW | camel/societies/__init__.py | 15 | |
| LOW | camel/societies/workforce/worker.py | 14 | |
| LOW | camel/societies/workforce/worker.py | 29 | |
| LOW | camel/societies/workforce/single_agent_worker.py | 14 | |
| LOW | camel/societies/workforce/single_agent_worker.py | 49 | |
| LOW | camel/societies/workforce/workforce.py | 14 | |
| LOW | camel/societies/workforce/workforce.py | 46 | |
| LOW | camel/societies/workforce/events.py | 14 | |
| LOW | camel/societies/workforce/role_playing_worker.py | 14 | |
| LOW | camel/societies/workforce/role_playing_worker.py | 35 | |
| LOW | camel/societies/workforce/__init__.py | 15 | |
| LOW | camel/societies/workforce/__init__.py | 16 | |
| LOW | camel/societies/workforce/__init__.py | 17 | |
| LOW | camel/societies/workforce/__init__.py | 17 | |
| LOW | camel/societies/workforce/__init__.py | 17 | |
| LOW | camel/societies/workforce/__init__.py | 18 | |
| LOW | camel/societies/workforce/__init__.py | 19 | |
| LOW | camel/societies/workforce/__init__.py | 19 | |
| LOW | camel/societies/workforce/workforce_callback.py | 14 | |
| LOW | camel/interpreters/__init__.py | 15 | |
| LOW | camel/interpreters/__init__.py | 16 | |
| 714 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/storages/graph_storages/test_neo4j_graph.py | 44 | except Exception as e: |
| LOW | test/storages/graph_storages/test_neo4j_graph.py | 129 | except Exception as e: |
| LOW | test/workforce/test_workflow_memory.py | 2239 | except Exception as e: |
| LOW | test/toolkits/test_agent_toolkit.py | 80 | except Exception: |
| LOW | test/toolkits/test_planning_worktree_toolkit.py | 238 | except Exception as exc: |
| LOW | test/toolkits/test_sql_toolkit.py | 65 | except Exception: |
| LOW | test/toolkits/test_sql_toolkit.py | 74 | except Exception: |
| LOW | test/toolkits/test_sql_toolkit.py | 78 | except Exception: |
| LOW | test/toolkits/test_sql_toolkit.py | 476 | except Exception: |
| LOW | test/toolkits/test_code_execution.py | 36 | except Exception: |
| LOW | test/toolkits/test_code_execution.py | 58 | except Exception as e: |
| LOW | test/models/test_sglang_model.py | 61 | except Exception as e: |
| MEDIUM | test/models/test_sglang_model.py | 62 | print(f"Error during cleanup: {e}") |
| LOW | camel/logger.py | 152 | except Exception as e: |
| LOW | camel/societies/workforce/worker.py | 125 | except Exception: |
| LOW | camel/societies/workforce/worker.py | 141 | except Exception as e: |
| LOW | camel/societies/workforce/worker.py | 168 | except Exception as e: |
| LOW | camel/societies/workforce/worker.py | 190 | except Exception as e: |
| LOW | camel/societies/workforce/single_agent_worker.py | 498 | except Exception as e: |
| LOW | camel/societies/workforce/single_agent_worker.py | 503 | except Exception as e: |
| LOW | camel/societies/workforce/single_agent_worker.py | 610 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 2907 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 1388 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 3368 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 3658 | except Exception as exc: |
| LOW | camel/societies/workforce/workforce.py | 4407 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 2898 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5158 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 1268 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 1322 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 1377 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 1745 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 1943 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 2077 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 2818 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 3469 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 3560 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 3583 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 3593 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 4092 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 4312 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 4743 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 4822 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 4907 | except Exception: |
| LOW | camel/societies/workforce/workforce.py | 5191 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5283 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5416 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5614 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5680 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5696 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5949 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 5978 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 6148 | except Exception as e: |
| LOW | camel/societies/workforce/workforce.py | 6224 | except Exception as e: |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 1073 | except Exception as e: |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 209 | except Exception as e: |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 430 | except Exception as e: |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 553 | except Exception as e: |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 618 | except Exception as e: |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 746 | except Exception as exc: |
| 937 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 44 | # -------------------------- |
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 46 | # -------------------------- |
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 53 | # -------------------------- |
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 55 | # -------------------------- |
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 141 | # -------------------------- |
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 143 | # -------------------------- |
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 274 | # -------------------------- |
| MEDIUM | test/toolkits/test_klavis_toolkit.py | 276 | # -------------------------- |
| MEDIUM | test/toolkits/test_lark_toolkit.py | 52 | # ============================================================================ |
| MEDIUM | test/toolkits/test_lark_toolkit.py | 54 | # ============================================================================ |
| MEDIUM | test/toolkits/test_lark_toolkit.py | 89 | # ============================================================================ |
| MEDIUM | test/toolkits/test_lark_toolkit.py | 91 | # ============================================================================ |
| MEDIUM | test/toolkits/test_planning_worktree_toolkit.py | 27 | # ── helpers ────────────────────────────────────────────────────────── |
| MEDIUM | test/toolkits/test_planning_worktree_toolkit.py | 61 | # ── plan-mode tests ───────────────────────────────────────────────── |
| MEDIUM | test/toolkits/test_planning_worktree_toolkit.py | 89 | # ── worktree tests ─────────────────────────────────────────────────── |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 51 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 53 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 92 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 94 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 107 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 109 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 140 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 142 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 159 | # -------------------------- |
| MEDIUM | test/toolkits/test_image_analysis_toolkiy.py | 161 | # -------------------------- |
| MEDIUM | test/loaders/test_crawl4ai.py | 37 | # ------------------------ |
| MEDIUM | test/loaders/test_crawl4ai.py | 39 | # ------------------------ |
| MEDIUM | camel/societies/workforce/workforce.py | 797 | # ------------------------------------------------------------------ |
| MEDIUM | camel/societies/workforce/workforce.py | 799 | # ------------------------------------------------------------------ |
| MEDIUM | camel/societies/workforce/workforce.py | 556 | # ------------------------------------------------------------------ |
| MEDIUM | camel/societies/workforce/workforce.py | 558 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/file_toolkit.py | 1163 | # ---------------------------------------------- |
| MEDIUM | camel/toolkits/file_toolkit.py | 1165 | # ---------------------------------------------- |
| MEDIUM | camel/toolkits/file_toolkit.py | 1240 | # ---------------------------------------------- |
| MEDIUM | camel/toolkits/file_toolkit.py | 1242 | # ---------------------------------------------- |
| MEDIUM | camel/toolkits/headless_browser_search_toolkit.py | 113 | # --------------------------------------------------------------------------- |
| MEDIUM | camel/toolkits/headless_browser_search_toolkit.py | 117 | # --------------------------------------------------------------------------- |
| MEDIUM | camel/toolkits/todo_toolkit.py | 88 | # ── persistence helpers ────────────────────────────────────────── |
| MEDIUM | camel/toolkits/todo_toolkit.py | 143 | # ── tool methods ───────────────────────────────────────────────── |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/actions.py | 44 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/actions.py | 46 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/actions.py | 101 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/actions.py | 103 | # ------------------------------------------------------------------ |
| MEDIUM | …/toolkits/hybrid_browser_toolkit_py/browser_session.py | 239 | # ------------------------------------------------------------------ |
| MEDIUM | …/toolkits/hybrid_browser_toolkit_py/browser_session.py | 241 | # ------------------------------------------------------------------ |
| MEDIUM | …/toolkits/hybrid_browser_toolkit_py/browser_session.py | 473 | # ------------------------------------------------------------------ |
| MEDIUM | …/toolkits/hybrid_browser_toolkit_py/browser_session.py | 475 | # ------------------------------------------------------------------ |
| MEDIUM | …/toolkits/hybrid_browser_toolkit_py/browser_session.py | 725 | # ------------------------------------------------------------------ |
| MEDIUM | …/toolkits/hybrid_browser_toolkit_py/browser_session.py | 727 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/snapshot.py | 42 | # --------------------------------------------------------------------- |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/snapshot.py | 44 | # --------------------------------------------------------------------- |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/snapshot.py | 114 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/snapshot.py | 116 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit_py/snapshot.py | 206 | # ------------------------------------------------------------------ |
| MEDIUM | camel/toolkits/terminal_toolkit/runtime_utils.py | 38 | # ── Type Aliases ───────────────────────────────────────────────────── |
| MEDIUM | camel/toolkits/terminal_toolkit/runtime_utils.py | 53 | # ── Constants ──────────────────────────────────────────────────────── |
| MEDIUM | camel/toolkits/terminal_toolkit/runtime_utils.py | 59 | # ── URL Templates ──────────────────────────────────────────────────── |
| MEDIUM | camel/toolkits/terminal_toolkit/runtime_utils.py | 72 | # ── Architecture & OS Mappings ─────────────────────────────────────── |
| MEDIUM | camel/toolkits/terminal_toolkit/runtime_utils.py | 84 | # ── Exceptions ─────────────────────────────────────────────────────── |
| MEDIUM | camel/toolkits/terminal_toolkit/runtime_utils.py | 99 | # ── Platform Detection ─────────────────────────────────────────────── |
| 62 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/conftest.py | 50 | |
| LOW | test/storages/vector_storages/test_oceanbase.py | 154 | |
| LOW | test/storages/vector_storages/test_oceanbase.py | 211 | |
| LOW | test/storages/vector_storages/test_oceanbase.py | 250 | |
| LOW | test/storages/vector_storages/test_oceanbase.py | 290 | |
| LOW | test/storages/vector_storages/test_oceanbase.py | 390 | |
| LOW | test/storages/vector_storages/test_oceanbase.py | 446 | |
| LOW | test/storages/vector_storages/test_oceanbase.py | 497 | |
| LOW | test/environments/test_tictactoe_env.py | 321 | |
| LOW | test/agents/test_chat_agent.py | 2068 | |
| LOW | test/toolkits/test_pyautogui_toolkit.py | 140 | |
| LOW | test/toolkits/test_pyautogui_toolkit.py | 216 | |
| LOW | test/models/test_openai_model.py | 222 | |
| LOW | test/memories/test_vector_db_memory.py | 147 | |
| LOW | camel/terminators/response_terminator.py | 61 | |
| LOW | camel/data_collectors/sharegpt_collector.py | 97 | |
| LOW | camel/societies/role_playing.py | 214 | |
| LOW | camel/societies/role_playing.py | 264 | |
| LOW | camel/societies/role_playing.py | 466 | |
| LOW | camel/societies/workforce/worker.py | 151 | |
| LOW | camel/societies/workforce/task_channel.py | 148 | |
| LOW | camel/societies/workforce/task_channel.py | 174 | |
| LOW | camel/societies/workforce/task_channel.py | 275 | |
| LOW | camel/societies/workforce/single_agent_worker.py | 349 | |
| LOW | camel/societies/workforce/workforce_logger.py | 356 | |
| LOW | camel/societies/workforce/workforce_logger.py | 505 | |
| LOW | camel/societies/workforce/workforce.py | 1291 | |
| LOW | camel/societies/workforce/workforce.py | 1570 | |
| LOW | camel/societies/workforce/workforce.py | 1753 | |
| LOW | camel/societies/workforce/workforce.py | 2828 | |
| LOW | camel/societies/workforce/workforce.py | 2917 | |
| LOW | camel/societies/workforce/workforce.py | 3486 | |
| LOW | camel/societies/workforce/workforce.py | 4111 | |
| LOW | camel/societies/workforce/workforce.py | 4322 | |
| LOW | camel/societies/workforce/workforce.py | 4866 | |
| LOW | camel/societies/workforce/workforce.py | 5207 | |
| LOW | camel/societies/workforce/workforce.py | 5792 | |
| LOW | camel/societies/workforce/workforce.py | 5850 | |
| LOW | camel/societies/workforce/workforce.py | 6020 | |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 121 | |
| LOW | camel/societies/workforce/workflow_memory_manager.py | 438 | |
| LOW | camel/societies/workforce/structured_output_handler.py | 158 | |
| LOW | camel/societies/workforce/structured_output_handler.py | 213 | |
| LOW | camel/societies/workforce/structured_output_handler.py | 281 | |
| LOW | camel/societies/workforce/structured_output_handler.py | 345 | |
| LOW | camel/societies/workforce/structured_output_handler.py | 462 | |
| LOW | camel/societies/workforce/utils.py | 734 | |
| LOW | camel/societies/workforce/utils.py | 301 | |
| LOW | camel/societies/workforce/utils.py | 764 | |
| LOW | camel/societies/workforce/utils.py | 766 | |
| LOW | camel/interpreters/ipython_interpreter.py | 80 | |
| LOW | camel/interpreters/docker_interpreter.py | 208 | |
| LOW | camel/interpreters/e2b_interpreter.py | 109 | |
| LOW | camel/interpreters/microsandbox_interpreter.py | 158 | |
| LOW | camel/interpreters/internal_python_interpreter.py | 292 | |
| LOW | camel/interpreters/internal_python_interpreter.py | 404 | |
| LOW | camel/interpreters/internal_python_interpreter.py | 494 | |
| LOW | camel/interpreters/internal_python_interpreter.py | 589 | |
| LOW | camel/interpreters/subprocess_interpreter.py | 87 | |
| LOW | camel/interpreters/subprocess_interpreter.py | 268 | |
| 304 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/bots/test_telegram_bot.py | 52 | # Check if the chat agent's methods are called appropriately |
| LOW | test/bots/test_telegram_bot.py | 56 | # Check if the bot replies with the correct message |
| LOW | test/embeddings/test_openai_compatible_embedding.py | 49 | # Check if the OpenAI client was called with the correct parameters |
| LOW | test/embeddings/test_openai_compatible_embedding.py | 54 | # Check if the result is as expected |
| LOW | test/datasets/test_self_instruct_generator.py | 181 | # Check if the agent was called with the correct prompt |
| LOW | test/datasets/test_self_instruct_generator.py | 209 | # Check if the agent was called with the correct prompt |
| LOW | test/workforce/test_workforce_pipeline.py | 286 | # Check if task 3 should be posted (PIPELINE mode continues) |
| LOW | test/workforce/test_workforce_pipeline.py | 333 | # Check if Task D should execute |
| LOW | test/agents/test_chat_agent.py | 1325 | # Check if the output language is set correctly |
| LOW | test/toolkits/test_klavis_toolkit.py | 292 | # Check if the function name matches the expected name |
| LOW | test/toolkits/test_bohrium_toolkit.py | 162 | # Check if result contains the expected job information |
| LOW | test/toolkits/test_pyautogui_toolkit.py | 44 | # Check if screen dimensions are properly set |
| LOW | test/toolkits/test_pyautogui_toolkit.py | 48 | # Check if safe boundaries are properly calculated |
| LOW | test/toolkits/test_pyautogui_toolkit.py | 55 | # Check if screen center is properly calculated |
| LOW | test/toolkits/test_pyautogui_toolkit.py | 58 | # Check if screenshots directory is properly set |
| LOW | test/toolkits/test_semantic_scholar_functions.py | 230 | # Check if JSON body includes the correct IDs |
| LOW | test/toolkits/test_search_functions.py | 425 | # Check if the result is as expected |
| LOW | test/toolkits/test_search_functions.py | 468 | # Check if the result matches the expected output |
| LOW | test/toolkits/test_search_functions.py | 798 | # Check if the result is as expected |
| LOW | test/toolkits/test_weather_function.py | 100 | # Set manager to return mock observation |
| LOW | test/toolkits/test_browser_toolkit.py | 81 | ) # Check if __init__ created it |
| LOW | test/toolkits/test_code_execution.py | 53 | # Check if the python executable exists |
| LOW | test/toolkits/test_code_execution.py | 96 | # Check if microsandbox server is running |
| LOW | test/toolkits/test_file_toolkit.py | 442 | # Read the file to verify content |
| LOW | test/utils/test_commons.py | 83 | # Check if the result is a dictionary |
| LOW | test/utils/test_commons.py | 97 | # Check if all expected keys are in the returned dictionary |
| LOW | test/utils/test_commons.py | 100 | # Check if all values are non-empty strings |
| LOW | test/prompts/test_prompt_base.py | 66 | # Check if the functions are wrapped correctly |
| LOW | licenses/update_license.py | 88 | # Check if directory exists |
| LOW | licenses/update_license.py | 91 | # Check if license template exists |
| LOW | camel/societies/workforce/task_channel.py | 263 | # Check if task ID exists before removing |
| LOW | camel/societies/workforce/single_agent_worker.py | 132 | # Check if we can create a new agent |
| LOW | camel/societies/workforce/workforce.py | 2403 | # Check if all provided IDs exist |
| LOW | camel/societies/workforce/workforce.py | 2413 | # Check if we have the same number of tasks |
| LOW | camel/societies/workforce/workforce.py | 573 | # Check if any metrics callback is provided |
| LOW | camel/societies/workforce/workforce.py | 4396 | # Check if task is already assigned to a worker |
| LOW | camel/societies/workforce/workforce.py | 4414 | # Check if all dependencies are in the completed state |
| LOW | camel/societies/workforce/workforce.py | 4472 | # Check if any failed dependencies can still be |
| LOW | camel/societies/workforce/workforce.py | 4481 | # Check if any failed dependency is still retryable |
| LOW | camel/societies/workforce/workforce.py | 5166 | # Check if there are any main pending tasks after filtering |
| LOW | camel/societies/workforce/workforce.py | 5168 | # Check if the first pending task needs decomposition |
| LOW | camel/societies/workforce/workforce.py | 2764 | # Check if we're already in an event loop |
| LOW | camel/societies/workforce/workforce.py | 2932 | # Check if we're in the same thread as the loop |
| LOW | camel/societies/workforce/workforce.py | 3734 | # Check if we should use structured handler |
| LOW | camel/societies/workforce/workforce.py | 4129 | # Check if we should use structured handler |
| LOW | camel/societies/workforce/workforce.py | 4641 | # Check if halt_on_max_retries is disabled in config |
| LOW | camel/societies/workforce/workforce.py | 4689 | # Check if no recovery strategies are enabled (empty list) |
| LOW | camel/societies/workforce/workforce.py | 4699 | # Check if only one strategy is enabled (skip LLM analysis) |
| LOW | camel/societies/workforce/workforce.py | 4847 | # Check if any pending tasks are now ready to execute |
| LOW | camel/societies/workforce/workforce.py | 4972 | # Check if all subtasks are completed and successful |
| LOW | camel/societies/workforce/workforce.py | 5022 | # Check if any pending tasks are now ready to execute |
| LOW | camel/societies/workforce/workforce.py | 5245 | # Check if we should decompose a main task |
| LOW | camel/societies/workforce/workforce.py | 5252 | # Check if the first pending task needs decomposition |
| LOW | camel/societies/workforce/workforce.py | 5355 | # Check if the "completed" task actually failed to provide |
| LOW | camel/interpreters/subprocess_interpreter.py | 171 | # Check if command is available |
| LOW | camel/interpreters/subprocess_interpreter.py | 187 | # Check if command is available |
| LOW | camel/retrievers/vector_retriever.py | 125 | # Check if the content is URL |
| LOW | camel/storages/vectordb_storages/faiss.py | 304 | # Check if the index needs training (for IVF indexes) |
| LOW | camel/storages/vectordb_storages/faiss.py | 461 | # Check if the index supports direct removal. |
| LOW | camel/storages/vectordb_storages/oceanbase.py | 417 | # Check if the id is stored in metadata |
| 177 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/toolkits/test_terminal_toolkit.py | 296 | "cd sub && cd ..", |
| HIGH | test/toolkits/test_terminal_toolkit.py | 298 | "cd sub || cd ..", |
| HIGH | test/toolkits/test_terminal_toolkit.py | 299 | "false && cd sub; cd ..", |
| HIGH | test/toolkits/test_terminal_toolkit.py | 316 | "cd sub && ls", |
| HIGH | test/toolkits/test_terminal_toolkit.py | 317 | "cd sub && echo hello", |
| HIGH | test/toolkits/test_terminal_toolkit.py | 318 | "ls && cd sub", |
| HIGH | test/toolkits/test_terminal_toolkit.py | 336 | "pushd sub && pushd .", working_dir=str(temp_dir) |
| HIGH | test/toolkits/test_terminal_toolkit.py | 347 | "cd sub && pushd .", working_dir=str(temp_dir) |
| HIGH | test/loaders/test_jina_url_reader.py | 45 | FAILED_RESP = r'''{"data":null,"cause":{"name":"TimeoutError"},"code":422,"name":"AssertionFailureError","status":42206, |
| HIGH | camel/toolkits/browser_toolkit.py | 690 | if (el.innerText && el.innerText.includes(text)) {{ |
| HIGH | camel/toolkits/async_browser_toolkit.py | 813 | if (el.innerText && el.innerText.includes(text)) {{ |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 131 | if (linkEl && titleEl) { |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 133 | if (url && url.indexOf('google.com/search') === -1 && |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 137 | results.push({ |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 190 | if (title && url) { |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 191 | results.push({ |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 226 | if (!url || seen[url]) continue; |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 240 | if (title && url) { |
| HIGH | camel/toolkits/headless_browser_search_toolkit.py | 241 | results.push({ |
| HIGH | camel/toolkits/hybrid_browser_toolkit_py/agent.py | 46 | \n \"ref\": null,\n \"summary\": \"Task was already completed. Summary |
| HIGH | camel/toolkits/hybrid_browser_toolkit_py/agent.py | 62 | - 'finish': {"type": "finish", "ref": null, "summary": "task completion |
| HIGH | …ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py | 2047 | _logs.push(args.map(arg => { |
| HIGH | camel/toolkits/terminal_toolkit/utils.py | 57 | "For example, instead of 'cd subdir && cd ..', run 'cd subdir' " |
| HIGH | camel/models/moonshot_model.py | 186 | # All were null, use string as fallback |
| HIGH | camel/models/moonshot_model.py | 189 | "were null, falling back to 'string' " |
| HIGH | camel/models/moonshot_model.py | 213 | # All were null, return string type as fallback |
| HIGH | camel/models/moonshot_model.py | 215 | "All types in tool schema anyOf were null, " |
| HIGH | camel/personas/persona.py | 93 | # Output: '{"name": "Alice", "description": null, "text_to_persona_prompt": "...", "persona_to_persona_prompt": |
| HIGH | docs/mintlify/build_api_docs.py | 1352 | print(" cd docs/mintlify && npx mintlify dev") |
| HIGH | examples/toolkits/dynamic_dependency.py | 98 | if (!matrix1 || !matrix2 || matrix1.length === 0 || matrix2.length === 0) { |
| HIGH | examples/toolkits/dynamic_dependency.py | 113 | result.push(sum); |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 40 | "external_url": null, |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 56 | "package_registry": null, |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 57 | "package_name": null, |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 58 | "package_download_count": null, |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 80 | "package_registry": null, |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 81 | "package_name": null, |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 82 | "package_download_count": null, |
| HIGH | examples/toolkits/mcp/mcp_search_toolkit.py | 108 | "external_url": null, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | test/models/test_azure_openai_model.py | 195 | model._client.chat.completions.create.assert_called_once() |
| CRITICAL | test/models/test_fish_audio_model.py | 54 | mock_file.return_value.__enter__.return_value.write.assert_called_once_with( |
| CRITICAL | test/loaders/test_apify.py | 51 | apify.client.actor.return_value.call.assert_called_once_with( |
| CRITICAL | test/loaders/test_apify.py | 123 | apify.client.datasets.return_value.list.assert_called_once_with( |
| CRITICAL | camel/storages/object_storages/azure_blob.py | 65 | from azure.core.exceptions import ClientAuthenticationError |
| CRITICAL | camel/schemas/openai_converter.py | 104 | response = self._client.beta.chat.completions.parse( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | camel/storages/vectordb_storages/chroma.py | 133 | ... api_key="your-api-key" # optional |
| HIGH | camel/toolkits/mcp_toolkit.py | 316 | "X-API-Key": "YOUR_API_KEY" |
| HIGH | docs/mcp/camel_agents_as_an_mcp_clients.md | 49 | "COMPOSIO_API_KEY": "your-api-key-here" |
| HIGH | docs/key_modules/models.md | 368 | export OPENROUTER_API_KEY="your-api-key-here" |
| HIGH | docs/key_modules/datagen.md | 449 | api_key="your_api_key" |
| HIGH | examples/storages/chroma_vector_storage.py | 117 | CHROMA_API_KEY = "your-api-key" # Optional |
| HIGH | examples/agents/repo_agent.py | 132 | api_key="your_api_key", # Ensure you have appropriate credentials |
| HIGH | examples/models/nvidia_model_example.py | 61 | api_key = 'YOUR_API_KEY' |
| HIGH | examples/models/xai_model_example.py | 19 | export XAI_API_KEY="your_api_key" |
| HIGH | examples/models/claude_model_example.py | 27 | export ANTHROPIC_API_KEY="your-api-key-here" |
| HIGH | examples/models/amd_model_example.py | 70 | API_KEY = 'YOUR_API_KEY' |
| HIGH | examples/models/qwen_model_example.py | 145 | api_key='YOUR_API_KEY', |
| HIGH | examples/models/qwen_model_example.py | 255 | API_KEY = 'your_api_key' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/utils/test_mcp_client.py | 558 | # Test with comprehensive config |
| MEDIUM | camel/societies/workforce/workforce.py | 5983 | r"""Get comprehensive information about the workforce. |
| LOW | camel/interpreters/internal_python_interpreter.py | 315 | # Constant -> just return the value |
| MEDIUM | camel/toolkits/openbb_toolkit.py | 500 | r"""Get IPO/SPO calendar with comprehensive filtering options. |
| MEDIUM | camel/toolkits/file_toolkit.py | 31 | r"""A comprehensive toolkit for file operations including reading, |
| MEDIUM | camel/toolkits/browser_toolkit_commons.py | 293 | # This is a simplified fix, more robust parsing might be needed |
| MEDIUM | camel/toolkits/weather_toolkit.py | 73 | r"""Fetch and return a comprehensive weather report for a given city |
| MEDIUM | camel/toolkits/microsoft_outlook_mail_toolkit.py | 227 | """A comprehensive toolkit for Microsoft Outlook Mail operations. |
| MEDIUM | camel/toolkits/sql_toolkit.py | 595 | r"""Get comprehensive information about table(s) in the database. |
| MEDIUM | camel/toolkits/gmail_toolkit.py | 39 | r"""A comprehensive toolkit for Gmail operations. |
| MEDIUM | camel/toolkits/message_agent_toolkit.py | 544 | r"""Get comprehensive status of the message toolkit. |
| MEDIUM | camel/toolkits/image_analysis_toolkit.py | 35 | r"""A toolkit for comprehensive image analysis and understanding. |
| MEDIUM | …ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py | 1001 | # Create comprehensive output for logging |
| MEDIUM | …ts/hybrid_browser_toolkit_py/hybrid_browser_toolkit.py | 395 | r"""Log action details with comprehensive information.""" |
| LOW | camel/toolkits/hybrid_browser_toolkit_py/snapshot.py | 62 | # to the previous one we simply return it after the standard |
| MEDIUM | camel/toolkits/terminal_toolkit/terminal_toolkit.py | 490 | r"""A comprehensive command sanitizer for both local and |
| MEDIUM | camel/toolkits/terminal_toolkit/utils.py | 231 | r"""A comprehensive command sanitizer for both local and Docker backends. |
| MEDIUM | camel/toolkits/hybrid_browser_toolkit/ws_wrapper.py | 541 | """Log action details with comprehensive |
| MEDIUM | camel/utils/context_utils.py | 601 | r"""Collect comprehensive session information including identifiers, |
| LOW | camel/models/stub_model.py | 56 | # For stub models, just return a list of 0s with length proportional |
| MEDIUM | camel/personas/persona_hub.py | 182 | # Structured output (TODO: Use a more robust parser) |
| MEDIUM | examples/workforce/eigent.py | 1090 | "### Note-Taking: You have access to comprehensive note-taking tools " |
| MEDIUM | examples/toolkits/file_toolkit.py | 140 | Tool calls: [ToolCallingRecord(tool_name='write_to_file', args={'content': "# Basics of Machine Learning\n\nMachine Lear |
| MEDIUM | examples/toolkits/sql_toolkit.py | 376 | # Method 3: Get comprehensive info for a specific table |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/services/test_agent_openapi_server.py | 119 | # Step 1: Init |
| LOW | test/services/test_agent_openapi_server.py | 132 | # Step 2: Async step with tool |
| LOW | camel/societies/workforce/workforce.py | 4326 | # Step 1: Identify and assign any new tasks in the pending queue |
| LOW | camel/societies/workforce/workforce.py | 4382 | # Step 2: Iterate through all pending tasks and post those that are |
| LOW | camel/societies/workforce/workforce.py | 4558 | # Step 3: Remove the posted tasks from the pending list |
| LOW | …ts/hybrid_browser_toolkit/hybrid_browser_toolkit_ts.py | 1798 | # Step 1: Setup copy interception with multiple captures |
| LOW | …lkits/hybrid_browser_toolkit/ts/src/browser-session.ts | 1210 | // Step 1: Try to find input elements within the clicked element |
| LOW | …lkits/hybrid_browser_toolkit/ts/src/browser-session.ts | 1237 | // Step 2: Look for new elements that appeared after the action |
| LOW | examples/storages/nebular_graph.py | 24 | # Step 2: Initialize the NebulaGraph client |
| LOW | examples/models/ppio_model_example.py | 102 | ### Step 1: Set up the divisibility condition |
| LOW | examples/models/ppio_model_example.py | 108 | ### Step 2: Perform polynomial division or find a relationship |
| LOW | examples/models/ppio_model_example.py | 119 | ### Step 3: Find all divisors of 56 |
| LOW | examples/models/ppio_model_example.py | 130 | ### Step 4: Solve for $ b $ |
| LOW | examples/models/ppio_model_example.py | 140 | ### Step 5: Verify the solutions |
| LOW | examples/models/ppio_model_example.py | 152 | ### Step 6: Sum the valid bases |
| LOW | examples/services/agent_openapi_server.py | 341 | # Step 1: Create two agents |
| LOW | examples/services/agent_openapi_server.py | 352 | # Step 2: List current agents |
| LOW | examples/services/agent_openapi_server.py | 356 | # Step 3: Delete agent_1 |
| LOW | examples/services/agent_openapi_server.py | 360 | # Step 4: List agents again |
| LOW | examples/caches/semantic_cache_example.py | 53 | # Step 1: Initialize the embedding model |
| LOW | examples/caches/semantic_cache_example.py | 68 | # Step 2: Initialize vector storage (in-memory FAISS) |
| LOW | examples/caches/semantic_cache_example.py | 76 | # Step 3: Create the semantic cache |
| LOW | examples/caches/semantic_cache_example.py | 85 | # Step 4: Populate the cache with some responses |
| LOW | examples/caches/semantic_cache_example.py | 124 | # Step 5: Test cache lookups with similar queries |
| LOW | examples/caches/semantic_cache_example.py | 155 | # Step 6: Demonstrate deduplication (Replacement) |
| LOW | examples/caches/semantic_cache_example.py | 170 | # Step 7: Show cache statistics |
| LOW | examples/caches/semantic_cache_example.py | 178 | # Step 8: Demonstrate find_similar |
| LOW | examples/caches/semantic_cache_example.py | 188 | # Step 9: Demonstrate cache management |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | camel/toolkits/mcp_toolkit.py | 259 | # Don't forget to disconnect when done! |
| LOW | camel/toolkits/mcp_toolkit.py | 270 | # Don't forget to disconnect when done! |
| MEDIUM | examples/translation/translator.py | 155 | # Default to Arabic, you can change to any other language |
| MEDIUM | examples/runtimes/docker_runtime.py | 56 | # you can also use the runtime without the with statement |
| MEDIUM | examples/toolkits/file_toolkit.py | 140 | Tool calls: [ToolCallingRecord(tool_name='write_to_file', args={'content': "# Basics of Machine Learning\n\nMachine Lear |
| MEDIUM | examples/toolkits/context_summarizer_toolkit.py | 105 | enhanced by the seasonal beauty of cherry blossoms. Let me know if you need |
| MEDIUM | examples/toolkits/synthesize_function_execution.py | 90 | It seems that I'm unable to access the movie data at the moment due to a |
| LOW | examples/toolkits/google_calendar_toolkit.py | 15 | # To use GoogleCalendarToolkit make sure to set required environment variables: |
| MEDIUM | examples/models/nvidia_model_example.py | 44 | **Please note that this is a simplified example and should not be used for |
| MEDIUM | examples/benchmarks/apibank.py | 46 | # The following steps are only for demonstration purposes, |
| MEDIUM | examples/benchmarks/nexus.py | 33 | # Please note that the following step is only for demonstration purposes, |
| MEDIUM | .github/workflows/codeql.yml | 58 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/agents/test_repo_agent.py | 79 | self.decoded_content = b"def test_function():\n return 'test'" |
| LOW | test/agents/test_repo_agent.py | 89 | "text": "def test_function():\n return 'test'", |
| LOW | test/agents/test_repo_agent.py | 152 | content="def test_function():\n return 'test'", |
| LOW | test/agents/test_repo_agent.py | 170 | == "def test_function():\n return 'test'" |
| LOW | test/agents/test_repo_agent.py | 196 | content="def test_function():\n return 'test'", |
| LOW | test/agents/test_repo_agent.py | 224 | content="def test_function():\n return 'test'", |
| LOW | test/agents/test_repo_agent.py | 238 | assert "def test_function():" in agent.full_text |
| LOW | test/agents/test_repo_agent.py | 255 | content="def test_function():\n return 'test'", |
| LOW | test/agents/test_repo_agent.py | 279 | "text": "def test_function():\n return 'test'", |
| LOW | test/agents/test_repo_agent.py | 285 | return_value="def test_function():\n return 'test'" |
| LOW | test/agents/test_repo_agent.py | 303 | assert "def test_function():" in call_args.content |
| LOW | test/prompts/test_prompt_base.py | 25 | def my_function(): |
| LOW | test/prompts/test_prompt_base.py | 35 | def my_function(): |
| LOW | test/prompts/test_prompt_base.py | 52 | def my_function(self): |
| LOW | camel/bots/slack/slack_app.py | 166 | async def handle_request( |
| LOW | camel/utils/commons.py | 1023 | ... def my_function(): |
| LOW | camel/utils/commons.py | 1030 | ... def my_method(self): |
| LOW | examples/usecases/chat_with_github/demo_git_ingest.py | 77 | async def run_task(): |
| LOW | examples/usecases/airbnb_mcp/app.py | 100 | async def run_task(): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/toolkits/test_dingtalk.py | 168 | {'userid': 'user1', 'name': 'John Doe'}, |
| LOW | test/toolkits/test_dappier_function.py | 56 | author="John Doe", |
| LOW | test/toolkits/test_dappier_function.py | 93 | "author": "John Doe", |
| LOW | test/toolkits/test_imap_mail_toolkit.py | 91 | 'test@test.com', 'test_password' |
| LOW | test/toolkits/test_imap_mail_toolkit.py | 585 | username="test@test.com", |
| LOW | test/toolkits/test_imap_mail_toolkit.py | 601 | username="test@test.com", |
| LOW | test/toolkits/test_imap_mail_toolkit.py | 35 | 'EMAIL_USERNAME': 'test@test.com', |
| LOW | test/toolkits/test_imap_mail_toolkit.py | 62 | 'test@test.com', 'test_password' |
| LOW | test/toolkits/test_imap_mail_toolkit.py | 557 | username="test@test.com", |
| LOW | test/toolkits/test_imap_mail_toolkit.py | 629 | username="test@test.com", |
| LOW | test/toolkits/test_gmail_toolkit.py | 561 | 'emailAddress': 'user@example.com', |
| LOW | test/toolkits/test_gmail_toolkit.py | 570 | assert result['profile']['email_address'] == 'user@example.com' |
| LOW | test/toolkits/test_gmail_toolkit.py | 585 | 'names': [{'displayName': 'John Doe'}], |
| LOW | test/toolkits/test_gmail_toolkit.py | 611 | 'names': [{'displayName': 'John Doe'}], |
| LOW | camel/toolkits/gmail_toolkit.py | 1201 | - Organization: 'Google' or 'Acme Corp' |
| LOW | camel/models/stub_model.py | 124 | ARBITRARY_STRING = "Lorem Ipsum" |
| LOW | camel/models/stub_model.py | 161 | ARBITRARY_STRING = "Lorem Ipsum" |
| LOW | docs/key_modules/browsertoolkit.md | 423 | await toolkit.browser_type(x=400, y=150, text="user@example.com") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/utils/test_mcp_client.py | 638 | |
| MEDIUM | test/utils/test_mcp_client.py | 663 | |
| MEDIUM | camel/agents/chat_agent.py | 5013 | |
| MEDIUM | camel/agents/chat_agent.py | 6007 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/conversion.py | 44 | # Example usage |
| LOW | examples/tasks/multi_modal_task_generation.py | 83 | # Example usage |
| LOW | …example/.camel/skills/data-analyzer/scripts/analyze.py | 18 | # Example usage |