Skip to content

Commit

Permalink
chore: new version release and test fix (#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendong-Fan authored Dec 13, 2024
1 parent 1659bd9 commit a3df42a
Show file tree
Hide file tree
Showing 31 changed files with 94 additions and 86 deletions.
54 changes: 27 additions & 27 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,70 +11,70 @@
#===========================================

# OpenAI API (https://platform.openai.com/signup)
OPENAI_API_KEY="Fill your API key here"
# OPENAI_API_KEY="Fill your API key here"

# Anthropic API (https://www.anthropic.com/)
ANTHROPIC_API_KEY="Fill your API key here"
# ANTHROPIC_API_KEY="Fill your API key here"

# Groq API (https://groq.com/)
GROQ_API_KEY="Fill your API key here"
# GROQ_API_KEY="Fill your API key here"

# Cohere API (https://cohere.ai/)
COHERE_API_KEY="Fill your API key here"
# COHERE_API_KEY="Fill your API key here"

# Hugging Face API (https://huggingface.co/join)
HF_TOKEN="Fill your API key here"
# HF_TOKEN="Fill your API key here"

# Azure OpenAI API (https://azure.microsoft.com/products/cognitive-services/openai-service/)
AZURE_OPENAI_API_KEY="Fill your API key here"
AZURE_API_VERSION="Fill your API Version here"
AZURE_DEPLOYMENT_NAME="Fill your Deployment Name here"
AZURE_OPENAI_BASE_URL="Fill your Base URL here"
# AZURE_OPENAI_API_KEY="Fill your API key here"
# AZURE_API_VERSION="Fill your API Version here"
# AZURE_DEPLOYMENT_NAME="Fill your Deployment Name here"
# AZURE_OPENAI_BASE_URL="Fill your Base URL here"

# Mistral API (https://mistral.ai/)
MISTRAL_API_KEY="Fill your API key here"
# MISTRAL_API_KEY="Fill your API key here"

# Reka API (https://www.reka.ai/)
REKA_API_KEY="Fill your API key here"
# REKA_API_KEY="Fill your API key here"

# Zhipu AI API (https://www.zhipu.ai/)
ZHIPUAI_API_KEY="Fill your API key here"
ZHIPUAI_API_BASE_URL="Fill your Base URL here"
# ZHIPUAI_API_KEY="Fill your API key here"
# ZHIPUAI_API_BASE_URL="Fill your Base URL here"

# Qwen API (https://help.aliyun.com/document_detail/611472.html)
QWEN_API_KEY="Fill your API key here"
# QWEN_API_KEY="Fill your API key here"

# LingYi API (https://platform.lingyiwanwu.com/apikeys)
YI_API_KEY="Fill your API key here"
# YI_API_KEY="Fill your API key here"

# NVIDIA API (https://build.nvidia.com/explore/discover)
NVIDIA_API_KEY="Fill your API key here"
# NVIDIA_API_KEY="Fill your API key here"

#===========================================
# Tools & Services API
#===========================================

# Google Search API (https://developers.google.com/custom-search/v1/overview)
GOOGLE_API_KEY="Fill your API key here"
SEARCH_ENGINE_ID="Fill your API key here"
# GOOGLE_API_KEY="Fill your API key here"
# SEARCH_ENGINE_ID="Fill your API key here"

# OpenWeatherMap API (https://home.openweathermap.org/users/sign_up)
OPENWEATHERMAP_API_KEY="Fill your API key here"
# OPENWEATHERMAP_API_KEY="Fill your API key here"

# Neo4j Database (https://neo4j.com/)
NEO4J_URI="Fill your API key here"
NEO4J_USERNAME="Fill your User Name here"
NEO4J_PASSWORD="Fill your Password here"
# NEO4J_URI="Fill your API key here"
# NEO4J_USERNAME="Fill your User Name here"
# NEO4J_PASSWORD="Fill your Password here"

# Firecrawl API (https://www.firecrawl.dev/)
FIRECRAWL_API_KEY="Fill your API key here"
# FIRECRAWL_API_KEY="Fill your API key here"

# AskNews API (https://docs.asknews.app/en/reference)
ASKNEWS_CLIENT_ID="Fill your Client ID here"
ASKNEWS_CLIENT_SECRET="Fill your Client Secret here"
# ASKNEWS_CLIENT_ID="Fill your Client ID here"
# ASKNEWS_CLIENT_SECRET="Fill your Client Secret here"

# Chunkr API (https://chunkr.ai/)
CHUNKR_API_KEY="Fill your API key here"
# CHUNKR_API_KEY="Fill your API key here"

# Meshy API (https://www.meshy.ai/api)
MESHY_API_KEY="Fill your API key here"
# MESHY_API_KEY="Fill your API key here"
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ body:
attributes:
label: What version of camel are you using?
description: Run command `python3 -c 'print(__import__("camel").__version__)'` in your shell and paste the output here.
placeholder: E.g., 0.2.11
placeholder: E.g., 0.2.12
validations:
required: true

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ conda create --name camel python=3.10
conda activate camel
# Clone github repo
git clone -b v0.2.11 https://github.com/camel-ai/camel.git
git clone -b v0.2.12 https://github.com/camel-ai/camel.git
# Change directory into project directory
cd camel
Expand Down
2 changes: 1 addition & 1 deletion camel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from camel.logger import disable_logging, enable_logging, set_log_level

__version__ = '0.2.11'
__version__ = '0.2.12'

__all__ = [
'__version__',
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
project = 'CAMEL'
copyright = '2024, CAMEL-AI.org'
author = 'CAMEL-AI.org'
release = '0.2.11'
release = '0.2.12'

html_favicon = (
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/agents_message.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai==0.2.11\""
"!pip install \"camel-ai==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/agents_prompting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai==0.2.11\""
"!pip install \"camel-ai==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/agents_society.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai==0.2.11\""
"!pip install \"camel-ai==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/agents_tracking.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
"outputs": [],
"source": [
"%pip install camel-ai[all]==0.2.11\n",
"%pip install camel-ai[all]==0.2.12\n",
"%pip install agentops==0.3.10"
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/agents_with_memory.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai[all]==0.2.11\""
"!pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/agents_with_rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai[all]==0.2.11\""
"!pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/agents_with_tools.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai[all]==0.2.11\""
"!pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/create_your_first_agent.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
{
"cell_type": "code",
"source": [
"!pip install \"camel-ai[all]==0.2.11\""
"!pip install \"camel-ai[all]==0.2.12\""
],
"metadata": {
"id": "UtcC3c-KVZmU"
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/create_your_first_agents_society.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{
"cell_type": "code",
"source": [
"!pip install \"camel-ai==0.2.11\""
"!pip install \"camel-ai==0.2.12\""
],
"metadata": {
"id": "RiwfwyyLYYxo"
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/critic_agents_and_tree_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
{
"cell_type": "code",
"source": [
"%pip install \"camel-ai==0.2.11\""
"%pip install \"camel-ai==0.2.12\""
],
"metadata": {
"id": "UtcC3c-KVZmU"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai[all]==0.2.11\"\n",
"!pip install \"camel-ai[all]==0.2.12\"\n",
"!pip install starlette\n",
"!pip install nest_asyncio"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai[all]==0.2.11\"\n",
"!pip install \"camel-ai[all]==0.2.12\"\n",
"!pip install starlette\n",
"!pip install nest_asyncio"
]
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/embodied_agents.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{
"cell_type": "code",
"source": [
"%pip install \"camel-ai==0.2.11\""
"%pip install \"camel-ai==0.2.12\""
],
"metadata": {
"id": "UtcC3c-KVZmU"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
},
"outputs": [],
"source": [
"pip install \"camel-ai[all]==0.2.11\""
"pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/knowledge_graph.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"outputs": [],
"source": [
"pip install \"camel-ai[all]==0.2.11\""
"pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/model_speed_comparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
{
"cell_type": "code",
"source": [
"!pip install \"camel-ai==0.2.11\""
"!pip install \"camel-ai==0.2.12\""
],
"metadata": {
"id": "UtcC3c-KVZmU"
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/roleplaying_scraper.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai[all]==0.2.11\""
"!pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/task_generation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
"outputs": [],
"source": [
"!pip install \"camel-ai==0.2.11\""
"!pip install \"camel-ai==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/video_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"outputs": [],
"source": [
"%pip install \"camel-ai[all]==0.2.11\""
"%pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/workforce_judge_committee.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"outputs": [],
"source": [
"%pip install \"camel-ai[all]==0.2.11\""
"%pip install \"camel-ai[all]==0.2.12\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/get_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ conda create --name camel python=3.10
conda activate camel
# Clone github repo
git clone -b v0.2.11 https://github.com/camel-ai/camel.git
git clone -b v0.2.12 https://github.com/camel-ai/camel.git
# Change directory into project directory
cd camel
Expand Down
4 changes: 2 additions & 2 deletions docs/key_modules/loaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,14 @@ response = jina_reader.read_content("https://docs.camel-ai.org/")
print(response)
```
```markdown
>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.11 documentation
>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.12 documentation
===============

[Skip to main content](https://docs.camel-ai.org/#main-content)

Back to top Ctrl+K

[![Image 1](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png) ![Image 2](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png)CAMEL 0.2.11](https://docs.camel-ai.org/#)
[![Image 1](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png) ![Image 2](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png)CAMEL 0.2.12](https://docs.camel-ai.org/#)

Search Ctrl+K

Expand Down
Loading

0 comments on commit a3df42a

Please sign in to comment.