camel-ai 0.1.7.0__tar.gz → 0.1.7.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.7.0 → camel_ai-0.1.7.2}/PKG-INFO +2 -2
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/README.md +1 -1
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/__init__.py +1 -1
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/chat_agent.py +1 -1
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/reddit_toolkit.py +28 -20
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/pyproject.toml +1 -1
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/critic_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/deductive_reasoner_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/embodied_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/knowledge_graph_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/role_assignment_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/search_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/task_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/tool_agents/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/tool_agents/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/agents/tool_agents/hugging_face_tool_agent.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/anthropic_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/base_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/gemini_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/groq_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/litellm_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/mistral_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/ollama_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/openai_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/reka_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/samba_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/togetherai_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/vllm_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/configs/zhipuai_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/embeddings/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/embeddings/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/embeddings/mistral_embedding.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/embeddings/openai_embedding.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/embeddings/sentence_transformers_embeddings.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/embeddings/vlm_embedding.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/generators.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/human.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/interpreters/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/interpreters/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/interpreters/docker_interpreter.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/interpreters/internal_python_interpreter.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/interpreters/interpreter_error.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/interpreters/ipython_interpreter.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/interpreters/subprocess_interpreter.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/loaders/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/loaders/base_io.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/loaders/firecrawl_reader.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/loaders/jina_url_reader.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/loaders/unstructured_io.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/agent_memories.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/blocks/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/blocks/chat_history_block.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/blocks/vectordb_block.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/context_creators/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/context_creators/score_based.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/memories/records.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/messages/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/messages/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/messages/func_message.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/anthropic_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/azure_openai_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/base_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/gemini_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/groq_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/litellm_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/mistral_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/model_factory.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/nemotron_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/ollama_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/open_source_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/openai_audio_models.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/openai_compatibility_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/openai_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/reka_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/samba_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/stub_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/togetherai_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/vllm_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/models/zhipuai_model.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/ai_society.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/code.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/evaluation.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/generate_text_embedding_data.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/image_craft.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/misalignment.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/multi_condition_image_craft.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/object_recognition.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/prompt_templates.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/role_description_prompt_template.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/solution_extraction.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/task_prompt_template.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/translation.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/prompts/video_description_prompt.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/responses/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/responses/agent_responses.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/retrievers/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/retrievers/auto_retriever.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/retrievers/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/retrievers/bm25_retriever.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/retrievers/cohere_rerank_retriever.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/retrievers/vector_retriever.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/societies/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/societies/babyagi_playing.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/societies/role_playing.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/graph_storages/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/graph_storages/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/graph_storages/graph_element.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/graph_storages/neo4j_graph.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/key_value_storages/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/key_value_storages/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/key_value_storages/in_memory.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/key_value_storages/json.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/key_value_storages/redis.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/object_storages/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/object_storages/amazon_s3.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/object_storages/azure_blob.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/object_storages/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/object_storages/google_cloud.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/vectordb_storages/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/vectordb_storages/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/vectordb_storages/milvus.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/storages/vectordb_storages/qdrant.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/tasks/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/tasks/task.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/tasks/task_prompt.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/terminators/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/terminators/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/terminators/response_terminator.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/terminators/token_limit_terminator.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/code_execution.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/dalle_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/github_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/google_maps_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/linkedin_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/math_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/biztoc/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/biztoc/ai-plugin.json +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/biztoc/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/coursera/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/coursera/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/create_qr_code/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/create_qr_code/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/klarna/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/klarna/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/nasa_apod/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/nasa_apod/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/ai-plugin.json +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/paths/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/paths/get_classes.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/security_config.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/speak/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/speak/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/openai_function.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/retrieval_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/search_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/slack_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/twitter_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/weather_toolkit.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/types/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/types/enums.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/types/openai_types.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/utils/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/utils/async_func.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/utils/commons.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/utils/constants.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/utils/token_counting.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/__init__.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/base.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/manager_node.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/role_playing_node.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/single_agent_node.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/task_channel.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/utils.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/worker_node.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/workforce/workforce.py +0 -0
- {camel_ai-0.1.7.0 → camel_ai-0.1.7.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.7.
|
|
3
|
+
Version: 0.1.7.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
|
|
@@ -213,7 +213,7 @@ conda create --name camel python=3.10
|
|
|
213
213
|
conda activate camel
|
|
214
214
|
|
|
215
215
|
# Clone github repo
|
|
216
|
-
git clone -b v0.1.7.
|
|
216
|
+
git clone -b v0.1.7.2 https://github.com/camel-ai/camel.git
|
|
217
217
|
|
|
218
218
|
# Change directory into project directory
|
|
219
219
|
cd camel
|
|
@@ -119,7 +119,7 @@ conda create --name camel python=3.10
|
|
|
119
119
|
conda activate camel
|
|
120
120
|
|
|
121
121
|
# Clone github repo
|
|
122
|
-
git clone -b v0.1.7.
|
|
122
|
+
git clone -b v0.1.7.2 https://github.com/camel-ai/camel.git
|
|
123
123
|
|
|
124
124
|
# Change directory into project directory
|
|
125
125
|
cd camel
|
|
@@ -815,7 +815,7 @@ class ChatAgent(BaseAgent):
|
|
|
815
815
|
# When response has not been stopped
|
|
816
816
|
# Notice that only the first chunk_dict has the "role"
|
|
817
817
|
content_dict[index] += delta.content
|
|
818
|
-
|
|
818
|
+
if choice.finish_reason:
|
|
819
819
|
finish_reasons_dict[index] = choice.finish_reason
|
|
820
820
|
chat_message = BaseMessage(
|
|
821
821
|
role_name=self.role_name,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
import os
|
|
16
16
|
import time
|
|
17
|
-
from typing import Any, Dict, List
|
|
17
|
+
from typing import Any, Dict, List, Union
|
|
18
18
|
|
|
19
19
|
from requests.exceptions import RequestException
|
|
20
20
|
|
|
@@ -50,20 +50,14 @@ class RedditToolkit(BaseToolkit):
|
|
|
50
50
|
self.retries = retries
|
|
51
51
|
self.delay = delay
|
|
52
52
|
|
|
53
|
-
client_id = os.environ.get("REDDIT_CLIENT_ID", "")
|
|
54
|
-
client_secret = os.environ.get("REDDIT_CLIENT_SECRET", "")
|
|
55
|
-
user_agent = os.environ.get("REDDIT_USER_AGENT", "")
|
|
56
|
-
|
|
57
|
-
if not all([client_id, client_secret, user_agent]):
|
|
58
|
-
print(
|
|
59
|
-
"Reddit API credentials are not set. "
|
|
60
|
-
"Please set the environment variables."
|
|
61
|
-
)
|
|
53
|
+
self.client_id = os.environ.get("REDDIT_CLIENT_ID", "")
|
|
54
|
+
self.client_secret = os.environ.get("REDDIT_CLIENT_SECRET", "")
|
|
55
|
+
self.user_agent = os.environ.get("REDDIT_USER_AGENT", "")
|
|
62
56
|
|
|
63
57
|
self.reddit = Reddit(
|
|
64
|
-
client_id=client_id,
|
|
65
|
-
client_secret=client_secret,
|
|
66
|
-
user_agent=user_agent,
|
|
58
|
+
client_id=self.client_id,
|
|
59
|
+
client_secret=self.client_secret,
|
|
60
|
+
user_agent=self.user_agent,
|
|
67
61
|
request_timeout=30, # Set a timeout to handle delays
|
|
68
62
|
)
|
|
69
63
|
|
|
@@ -96,7 +90,7 @@ class RedditToolkit(BaseToolkit):
|
|
|
96
90
|
subreddit_name: str,
|
|
97
91
|
post_limit: int = 5,
|
|
98
92
|
comment_limit: int = 5,
|
|
99
|
-
) -> List[Dict[str, Any]]:
|
|
93
|
+
) -> Union[List[Dict[str, Any]], str]:
|
|
100
94
|
r"""Collects the top posts and their comments from a specified
|
|
101
95
|
subreddit.
|
|
102
96
|
|
|
@@ -109,9 +103,16 @@ class RedditToolkit(BaseToolkit):
|
|
|
109
103
|
per post. Defaults to `5`.
|
|
110
104
|
|
|
111
105
|
Returns:
|
|
112
|
-
List[Dict[str, Any]]: A list of dictionaries, each
|
|
113
|
-
post title and its top comments.
|
|
106
|
+
Union[List[Dict[str, Any]], str]: A list of dictionaries, each
|
|
107
|
+
containing the post title and its top comments if success.
|
|
108
|
+
String warming if credentials are not set.
|
|
114
109
|
"""
|
|
110
|
+
if not all([self.client_id, self.client_secret, self.user_agent]):
|
|
111
|
+
return (
|
|
112
|
+
"Reddit API credentials are not set. "
|
|
113
|
+
"Please set the environment variables."
|
|
114
|
+
)
|
|
115
|
+
|
|
115
116
|
subreddit = self._retry_request(self.reddit.subreddit, subreddit_name)
|
|
116
117
|
top_posts = self._retry_request(subreddit.top, limit=post_limit)
|
|
117
118
|
data = []
|
|
@@ -162,7 +163,7 @@ class RedditToolkit(BaseToolkit):
|
|
|
162
163
|
post_limit: int = 10,
|
|
163
164
|
comment_limit: int = 10,
|
|
164
165
|
sentiment_analysis: bool = False,
|
|
165
|
-
) -> List[Dict[str, Any]]:
|
|
166
|
+
) -> Union[List[Dict[str, Any]], str]:
|
|
166
167
|
r"""Tracks discussions about specific keywords in specified subreddits.
|
|
167
168
|
|
|
168
169
|
Args:
|
|
@@ -177,10 +178,17 @@ class RedditToolkit(BaseToolkit):
|
|
|
177
178
|
the comments. Defaults to `False`.
|
|
178
179
|
|
|
179
180
|
Returns:
|
|
180
|
-
List[Dict[str, Any]]: A list of dictionaries
|
|
181
|
-
subreddit name, post title, comment body, and
|
|
182
|
-
comment that contains the specified keywords
|
|
181
|
+
Union[List[Dict[str, Any]], str]: A list of dictionaries
|
|
182
|
+
containing the subreddit name, post title, comment body, and
|
|
183
|
+
upvotes for each comment that contains the specified keywords
|
|
184
|
+
if success. String warming if credentials are not set.
|
|
183
185
|
"""
|
|
186
|
+
if not all([self.client_id, self.client_secret, self.user_agent]):
|
|
187
|
+
return (
|
|
188
|
+
"Reddit API credentials are not set. "
|
|
189
|
+
"Please set the environment variables."
|
|
190
|
+
)
|
|
191
|
+
|
|
184
192
|
data = []
|
|
185
193
|
|
|
186
194
|
for subreddit_name in subreddits:
|
|
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
|
|
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.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/create_qr_code/__init__.py
RENAMED
|
File without changes
|
{camel_ai-0.1.7.0 → camel_ai-0.1.7.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.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/ai-plugin.json
RENAMED
|
File without changes
|
|
File without changes
|
{camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/outschool/paths/__init__.py
RENAMED
|
File without changes
|
{camel_ai-0.1.7.0 → camel_ai-0.1.7.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.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/ai-plugin.json
RENAMED
|
File without changes
|
{camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/openapi.yaml
RENAMED
|
File without changes
|
{camel_ai-0.1.7.0 → camel_ai-0.1.7.2}/camel/toolkits/open_api_specs/web_scraper/paths/__init__.py
RENAMED
|
File without changes
|
{camel_ai-0.1.7.0 → camel_ai-0.1.7.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
|
|
File without changes
|
|
File without changes
|