Skip to content

Commit 107cc3f

Browse files
Merge pull request #556 from MervinPraison/develop
chore: update PraisonAI version to 2.2.21 across Dockerfiles and docu…
2 parents ed2ab6b + 06e2517 commit 107cc3f

File tree

20 files changed

+37
-37
lines changed

20 files changed

+37
-37
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN mkdir -p /root/.praison
1616
# Install Python packages (using latest versions)
1717
RUN pip install --no-cache-dir \
1818
flask \
19-
"praisonai>=2.2.20" \
19+
"praisonai>=2.2.21" \
2020
"praisonai[api]" \
2121
gunicorn \
2222
markdown

docker/Dockerfile.chat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN mkdir -p /root/.praison
1616
# Install Python packages (using latest versions)
1717
RUN pip install --no-cache-dir \
1818
praisonai_tools \
19-
"praisonai>=2.2.20" \
19+
"praisonai>=2.2.21" \
2020
"praisonai[chat]" \
2121
"embedchain[github,youtube]"
2222

docker/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN mkdir -p /root/.praison
2020
# Install Python packages (using latest versions)
2121
RUN pip install --no-cache-dir \
2222
praisonai_tools \
23-
"praisonai>=2.2.20" \
23+
"praisonai>=2.2.21" \
2424
"praisonai[ui]" \
2525
"praisonai[chat]" \
2626
"praisonai[realtime]" \

docker/Dockerfile.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN mkdir -p /root/.praison
1616
# Install Python packages (using latest versions)
1717
RUN pip install --no-cache-dir \
1818
praisonai_tools \
19-
"praisonai>=2.2.20" \
19+
"praisonai>=2.2.21" \
2020
"praisonai[ui]" \
2121
"praisonai[crewai]"
2222

docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ healthcheck:
121121
## 📦 Package Versions
122122
123123
All Docker images use consistent, up-to-date versions:
124-
- PraisonAI: `>=2.2.20`
124+
- PraisonAI: `>=2.2.21`
125125
- PraisonAI Agents: `>=0.0.92`
126126
- Python: `3.11-slim`
127127

@@ -218,7 +218,7 @@ docker-compose up -d
218218
### Version Pinning
219219
To use specific versions, update the Dockerfile:
220220
```dockerfile
221-
RUN pip install "praisonai==2.2.20" "praisonaiagents==0.0.92"
221+
RUN pip install "praisonai==2.2.21" "praisonaiagents==0.0.92"
222222
```
223223

224224
## 🌐 Production Deployment

docs/api/praisonai/deploy.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h2 id="raises">Raises</h2>
110110
file.write(&#34;FROM python:3.11-slim\n&#34;)
111111
file.write(&#34;WORKDIR /app\n&#34;)
112112
file.write(&#34;COPY . .\n&#34;)
113-
file.write(&#34;RUN pip install flask praisonai==2.2.20 gunicorn markdown\n&#34;)
113+
file.write(&#34;RUN pip install flask praisonai==2.2.21 gunicorn markdown\n&#34;)
114114
file.write(&#34;EXPOSE 8080\n&#34;)
115115
file.write(&#39;CMD [&#34;gunicorn&#34;, &#34;-b&#34;, &#34;0.0.0.0:8080&#34;, &#34;api:app&#34;]\n&#39;)
116116

docs/developers/local-development.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ WORKDIR /app
2727

2828
COPY . .
2929

30-
RUN pip install flask praisonai==2.2.20 watchdog
30+
RUN pip install flask praisonai==2.2.21 watchdog
3131

3232
EXPOSE 5555
3333

docs/tools/crawl4ai.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export OPENAI_API_KEY=xxxxxxxxx
3131

3232
```python
3333
import os
34-
from crawl4ai import WebCrawler
34+
from crawl4ai import AsyncWebCrawler
3535
from crawl4ai.extraction_strategy import LLMExtractionStrategy
3636
from pydantic import BaseModel, Field
3737

@@ -41,7 +41,7 @@ class OpenAIModelFee(BaseModel):
4141
output_fee: str = Field(..., description="Fee for output token ßfor the OpenAI model.")
4242

4343
url = 'https://openai.com/api/pricing/'
44-
crawler = WebCrawler()
44+
crawler = AsyncWebCrawler()
4545
crawler.warmup()
4646

4747
result = crawler.run(

docs/tools/spider_tools.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ from praisonaiagents.tools import scrape_page, extract_links, crawl, extract_tex
120120

121121
# Create search agent
122122
agent = Agent(
123-
name="WebCrawler",
123+
name="AsyncWebCrawler",
124124
role="Web Scraping Specialist",
125125
goal="Extract and analyze web content efficiently.",
126126
backstory="Expert in web scraping and content extraction.",

docs/ui/chat.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ To facilitate local development with live reload, you can use Docker. Follow the
155155

156156
COPY . .
157157

158-
RUN pip install flask praisonai==2.2.20 watchdog
158+
RUN pip install flask praisonai==2.2.21 watchdog
159159

160160
EXPOSE 5555
161161

0 commit comments

Comments
 (0)