camel-ai 0.1.6.1__tar.gz → 0.1.6.2__tar.gz
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_ai-0.1.6.1 → camel_ai-0.1.6.2}/PKG-INFO +2 -2
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/README.md +1 -1
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/__init__.py +1 -1
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/chat_agent.py +8 -8
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/critic_agent.py +8 -8
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/deductive_reasoner_agent.py +7 -7
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/embodied_agent.py +8 -8
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/knowledge_graph_agent.py +8 -8
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/role_assignment_agent.py +8 -8
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/search_agent.py +8 -8
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/task_agent.py +8 -8
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/utils/__init__.py +2 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/utils/commons.py +21 -6
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/pyproject.toml +1 -1
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/tool_agents/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/tool_agents/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/agents/tool_agents/hugging_face_tool_agent.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/anthropic_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/base_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/gemini_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/groq_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/litellm_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/mistral_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/ollama_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/openai_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/vllm_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/configs/zhipuai_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/embeddings/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/embeddings/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/embeddings/mistral_embedding.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/embeddings/openai_embedding.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/embeddings/sentence_transformers_embeddings.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/embeddings/vlm_embedding.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/generators.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/human.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/interpreters/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/interpreters/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/interpreters/docker_interpreter.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/interpreters/internal_python_interpreter.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/interpreters/interpreter_error.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/interpreters/ipython_interpreter.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/interpreters/subprocess_interpreter.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/loaders/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/loaders/base_io.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/loaders/firecrawl_reader.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/loaders/jina_url_reader.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/loaders/unstructured_io.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/agent_memories.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/blocks/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/blocks/chat_history_block.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/blocks/vectordb_block.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/context_creators/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/context_creators/score_based.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/memories/records.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/messages/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/messages/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/messages/func_message.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/anthropic_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/azure_openai_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/base_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/gemini_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/groq_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/litellm_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/mistral_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/model_factory.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/nemotron_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/ollama_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/open_source_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/openai_audio_models.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/openai_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/stub_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/vllm_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/models/zhipuai_model.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/ai_society.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/code.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/evaluation.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/generate_text_embedding_data.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/image_craft.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/misalignment.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/multi_condition_image_craft.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/object_recognition.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/prompt_templates.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/role_description_prompt_template.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/solution_extraction.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/task_prompt_template.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/translation.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/prompts/video_description_prompt.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/responses/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/responses/agent_responses.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/retrievers/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/retrievers/auto_retriever.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/retrievers/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/retrievers/bm25_retriever.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/retrievers/cohere_rerank_retriever.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/retrievers/vector_retriever.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/societies/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/societies/babyagi_playing.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/societies/role_playing.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/graph_storages/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/graph_storages/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/graph_storages/graph_element.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/graph_storages/neo4j_graph.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/key_value_storages/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/key_value_storages/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/key_value_storages/in_memory.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/key_value_storages/json.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/key_value_storages/redis.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/vectordb_storages/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/vectordb_storages/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/vectordb_storages/milvus.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/storages/vectordb_storages/qdrant.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/tasks/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/tasks/task.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/tasks/task_prompt.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/terminators/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/terminators/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/terminators/response_terminator.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/terminators/token_limit_terminator.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/code_execution.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/dalle_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/github_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/google_maps_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/math_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/biztoc/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/biztoc/ai-plugin.json +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/biztoc/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/coursera/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/coursera/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/create_qr_code/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/create_qr_code/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/klarna/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/klarna/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/nasa_apod/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/nasa_apod/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/ai-plugin.json +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/paths/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/paths/get_classes.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/security_config.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/speak/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/speak/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/openai_function.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/retrieval_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/search_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/slack_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/twitter_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/weather_toolkit.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/types/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/types/enums.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/types/openai_types.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/utils/async_func.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/utils/constants.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/utils/token_counting.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/__init__.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/base.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/manager_node.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/role_playing_node.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/single_agent_node.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/task_channel.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/utils.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/worker_node.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/workforce.py +0 -0
- {camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/workforce/workforce_prompt.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: camel-ai
|
|
3
|
-
Version: 0.1.6.
|
|
3
|
+
Version: 0.1.6.2
|
|
4
4
|
Summary: Communicative Agents for AI Society Study
|
|
5
5
|
Home-page: https://www.camel-ai.org/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -198,7 +198,7 @@ conda create --name camel python=3.9
|
|
|
198
198
|
conda activate camel
|
|
199
199
|
|
|
200
200
|
# Clone github repo
|
|
201
|
-
git clone -b v0.1.6.
|
|
201
|
+
git clone -b v0.1.6.2 https://github.com/camel-ai/camel.git
|
|
202
202
|
|
|
203
203
|
# Change directory into project directory
|
|
204
204
|
cd camel
|
|
@@ -110,7 +110,7 @@ conda create --name camel python=3.9
|
|
|
110
110
|
conda activate camel
|
|
111
111
|
|
|
112
112
|
# Clone github repo
|
|
113
|
-
git clone -b v0.1.6.
|
|
113
|
+
git clone -b v0.1.6.2 https://github.com/camel-ai/camel.git
|
|
114
114
|
|
|
115
115
|
# Change directory into project directory
|
|
116
116
|
cd camel
|
|
@@ -63,14 +63,14 @@ if TYPE_CHECKING:
|
|
|
63
63
|
|
|
64
64
|
# AgentOps decorator setting
|
|
65
65
|
try:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
import os
|
|
67
|
+
|
|
68
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
69
|
+
from agentops import track_agent
|
|
70
|
+
else:
|
|
71
|
+
raise ImportError
|
|
72
|
+
except (ImportError, AttributeError):
|
|
73
|
+
from camel.utils import track_agent
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
class FunctionCallingRecord(BaseModel):
|
|
@@ -26,14 +26,14 @@ from camel.utils import get_first_int, print_text_animated
|
|
|
26
26
|
|
|
27
27
|
# AgentOps decorator setting
|
|
28
28
|
try:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
import os
|
|
30
|
+
|
|
31
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
32
|
+
from agentops import track_agent
|
|
33
|
+
else:
|
|
34
|
+
raise ImportError
|
|
35
|
+
except (ImportError, AttributeError):
|
|
36
|
+
from camel.utils import track_agent
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
@track_agent(name="CriticAgent")
|
|
@@ -22,14 +22,14 @@ from camel.types import RoleType
|
|
|
22
22
|
|
|
23
23
|
# AgentOps decorator setting
|
|
24
24
|
try:
|
|
25
|
-
|
|
26
|
-
except ImportError:
|
|
25
|
+
import os
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
28
|
+
from agentops import track_agent
|
|
29
|
+
else:
|
|
30
|
+
raise ImportError
|
|
31
|
+
except (ImportError, AttributeError):
|
|
32
|
+
from camel.utils import track_agent
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
@track_agent(name="DeductiveReasonerAgent")
|
|
@@ -29,14 +29,14 @@ from camel.utils import print_text_animated
|
|
|
29
29
|
|
|
30
30
|
# AgentOps decorator setting
|
|
31
31
|
try:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
import os
|
|
33
|
+
|
|
34
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
35
|
+
from agentops import track_agent
|
|
36
|
+
else:
|
|
37
|
+
raise ImportError
|
|
38
|
+
except (ImportError, AttributeError):
|
|
39
|
+
from camel.utils import track_agent
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
@track_agent(name="EmbodiedAgent")
|
|
@@ -31,14 +31,14 @@ from camel.types import RoleType
|
|
|
31
31
|
|
|
32
32
|
# AgentOps decorator setting
|
|
33
33
|
try:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
34
|
+
import os
|
|
35
|
+
|
|
36
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
37
|
+
from agentops import track_agent
|
|
38
|
+
else:
|
|
39
|
+
raise ImportError
|
|
40
|
+
except (ImportError, AttributeError):
|
|
41
|
+
from camel.utils import track_agent
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
text_prompt = """
|
|
@@ -22,14 +22,14 @@ from camel.types import RoleType
|
|
|
22
22
|
|
|
23
23
|
# AgentOps decorator setting
|
|
24
24
|
try:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
import os
|
|
26
|
+
|
|
27
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
28
|
+
from agentops import track_agent
|
|
29
|
+
else:
|
|
30
|
+
raise ImportError
|
|
31
|
+
except (ImportError, AttributeError):
|
|
32
|
+
from camel.utils import track_agent
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
@track_agent(name="RoleAssignmentAgent")
|
|
@@ -22,14 +22,14 @@ from camel.utils import create_chunks
|
|
|
22
22
|
|
|
23
23
|
# AgentOps decorator setting
|
|
24
24
|
try:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
import os
|
|
26
|
+
|
|
27
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
28
|
+
from agentops import track_agent
|
|
29
|
+
else:
|
|
30
|
+
raise ImportError
|
|
31
|
+
except (ImportError, AttributeError):
|
|
32
|
+
from camel.utils import track_agent
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
@track_agent(name="SearchAgent")
|
|
@@ -22,14 +22,14 @@ from camel.utils import get_task_list
|
|
|
22
22
|
|
|
23
23
|
# AgentOps decorator setting
|
|
24
24
|
try:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
import os
|
|
26
|
+
|
|
27
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
28
|
+
from agentops import track_agent
|
|
29
|
+
else:
|
|
30
|
+
raise ImportError
|
|
31
|
+
except (ImportError, AttributeError):
|
|
32
|
+
from camel.utils import track_agent
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
@track_agent(name="TaskSpecifyAgent")
|
|
@@ -32,6 +32,7 @@ from .commons import (
|
|
|
32
32
|
print_text_animated,
|
|
33
33
|
text_extract_from_web,
|
|
34
34
|
to_pascal,
|
|
35
|
+
track_agent,
|
|
35
36
|
)
|
|
36
37
|
from .constants import Constants
|
|
37
38
|
from .token_counting import (
|
|
@@ -74,4 +75,5 @@ __all__ = [
|
|
|
74
75
|
'json_to_function_code',
|
|
75
76
|
'agentops_decorator',
|
|
76
77
|
'AgentOpsMeta',
|
|
78
|
+
'track_agent',
|
|
77
79
|
]
|
|
@@ -488,8 +488,14 @@ def is_docker_running() -> bool:
|
|
|
488
488
|
|
|
489
489
|
|
|
490
490
|
try:
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
if os.getenv("AGENTOPS_API_KEY") is not None:
|
|
492
|
+
from agentops import (
|
|
493
|
+
ToolEvent,
|
|
494
|
+
record,
|
|
495
|
+
)
|
|
496
|
+
else:
|
|
497
|
+
raise ImportError
|
|
498
|
+
except (ImportError, AttributeError):
|
|
493
499
|
ToolEvent = None
|
|
494
500
|
|
|
495
501
|
|
|
@@ -528,7 +534,16 @@ class AgentOpsMeta(type):
|
|
|
528
534
|
"""
|
|
529
535
|
|
|
530
536
|
def __new__(cls, name, bases, dct):
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
537
|
+
if ToolEvent:
|
|
538
|
+
for attr, value in dct.items():
|
|
539
|
+
if callable(value) and attr != 'get_tools':
|
|
540
|
+
dct[attr] = agentops_decorator(value)
|
|
541
|
+
return super().__new__(cls, name, bases, dct)
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
# Mock trak agent decorator for AgentOps
|
|
545
|
+
def track_agent(*args, **kwargs):
|
|
546
|
+
def noop(f):
|
|
547
|
+
return f
|
|
548
|
+
|
|
549
|
+
return noop
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/create_qr_code/__init__.py
RENAMED
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/create_qr_code/openapi.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/ai-plugin.json
RENAMED
|
File without changes
|
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/paths/__init__.py
RENAMED
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/outschool/paths/get_classes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json
RENAMED
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml
RENAMED
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py
RENAMED
|
File without changes
|
{camel_ai-0.1.6.1 → camel_ai-0.1.6.2}/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|