Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install flask praisonai==2.1.6 gunicorn markdown
RUN pip install flask praisonai==2.2.0 gunicorn markdown
EXPOSE 8080
CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]
2 changes: 1 addition & 1 deletion docker/Dockerfile.chat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN pip install --no-cache-dir \
praisonaiagents>=0.0.4 \
praisonai_tools \
"praisonai==2.1.6" \
"praisonai==2.2.0" \
"praisonai[chat]" \
"embedchain[github,youtube]"

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN pip install --no-cache-dir \
praisonaiagents>=0.0.4 \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Mismatch of praisonaiagents version
The base image still installs praisonaiagents>=0.0.4, but your pyproject.toml bumps it to 0.0.83. Please align this pin to avoid pulling an older release.

Apply:

-    praisonaiagents>=0.0.4 \
+    praisonaiagents>=0.0.83 \
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
praisonaiagents>=0.0.4 \
praisonaiagents>=0.0.83 \
🤖 Prompt for AI Agents
In docker/Dockerfile.dev at line 16, the version of praisonaiagents is pinned to
>=0.0.4, which conflicts with the updated version 0.0.83 specified in
pyproject.toml. Update the version specifier in the Dockerfile.dev to
praisonaiagents>=0.0.83 to ensure consistency and avoid installing an older
release.

praisonai_tools \
"praisonai==2.1.6" \
"praisonai==2.2.0" \
"praisonai[ui]" \
"praisonai[chat]" \
"praisonai[realtime]" \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ui
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN pip install --no-cache-dir \
praisonaiagents>=0.0.4 \
praisonai_tools \
"praisonai==2.1.6" \
"praisonai==2.2.0" \
"praisonai[ui]" \
"praisonai[crewai]"

Expand Down
2 changes: 1 addition & 1 deletion docs/api/praisonai/deploy.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2 id="raises">Raises</h2>
file.write(&#34;FROM python:3.11-slim\n&#34;)
file.write(&#34;WORKDIR /app\n&#34;)
file.write(&#34;COPY . .\n&#34;)
file.write(&#34;RUN pip install flask praisonai==2.1.6 gunicorn markdown\n&#34;)
file.write(&#34;RUN pip install flask praisonai==2.2.0 gunicorn markdown\n&#34;)
file.write(&#34;EXPOSE 8080\n&#34;)
file.write(&#39;CMD [&#34;gunicorn&#34;, &#34;-b&#34;, &#34;0.0.0.0:8080&#34;, &#34;api:app&#34;]\n&#39;)

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/local-development.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ WORKDIR /app

COPY . .

RUN pip install flask praisonai==2.1.6 watchdog
RUN pip install flask praisonai==2.2.0 watchdog

EXPOSE 5555

Expand Down
2 changes: 1 addition & 1 deletion docs/ui/chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ To facilitate local development with live reload, you can use Docker. Follow the

COPY . .

RUN pip install flask praisonai==2.1.6 watchdog
RUN pip install flask praisonai==2.2.0 watchdog

EXPOSE 5555

Expand Down
2 changes: 1 addition & 1 deletion docs/ui/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ To facilitate local development with live reload, you can use Docker. Follow the

COPY . .

RUN pip install flask praisonai==2.1.6 watchdog
RUN pip install flask praisonai==2.2.0 watchdog

EXPOSE 5555

Expand Down
2 changes: 1 addition & 1 deletion praisonai/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def create_dockerfile(self):
file.write("FROM python:3.11-slim\n")
file.write("WORKDIR /app\n")
file.write("COPY . .\n")
file.write("RUN pip install flask praisonai==2.1.6 gunicorn markdown\n")
file.write("RUN pip install flask praisonai==2.2.0 gunicorn markdown\n")
file.write("EXPOSE 8080\n")
file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')

Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "PraisonAI"
version = "2.1.6"
version = "2.2.0"
description = "PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration."
readme = "README.md"
license = ""
Expand All @@ -12,11 +12,11 @@ dependencies = [
"rich>=13.7",
"markdown>=3.5",
"pyparsing>=3.0.0",
"praisonaiagents>=0.0.82",
"praisonaiagents>=0.0.83",
"python-dotenv>=0.19.0",
"instructor>=1.3.3",
"PyYAML>=6.0",
"mcp==1.6.0",
"mcp>=1.6.0",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -89,7 +89,7 @@ autogen = ["pyautogen>=0.2.19", "praisonai-tools>=0.0.15", "crewai"]

[tool.poetry]
name = "PraisonAI"
version = "2.1.6"
version = "2.2.0"
description = "PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration."
authors = ["Mervin Praison"]
license = ""
Expand All @@ -107,11 +107,11 @@ python = ">=3.10,<3.13"
rich = ">=13.7"
markdown = ">=3.5"
pyparsing = ">=3.0.0"
praisonaiagents = ">=0.0.82"
praisonaiagents = ">=0.0.83"
python-dotenv = ">=0.19.0"
instructor = ">=1.3.3"
PyYAML = ">=6.0"
mcp = "==1.6.0"
mcp = ">=1.6.0"
pyautogen = {version = ">=0.2.19", optional = true}
crewai = {version = ">=0.32.0", optional = true}
praisonai-tools = {version = ">=0.0.15", optional = true}
Expand Down
6 changes: 4 additions & 2 deletions src/praisonai-agents/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "praisonaiagents"
version = "0.0.82"
version = "0.0.83"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Confirm version bump consistency and regenerate lock file.

The version was incremented from 0.0.82 to 0.0.83. CI is failing due to a stale lock file—please regenerate it to align with this change.

Run:

and commit the updated lock file.


🏁 Script executed:

poetry lock

Length of output: 110


🏁 Script executed:

# Inspect the locked package metadata to verify the version bump
grep -n '^version = ' poetry.lock || echo "No version lines found in poetry.lock"
head -n 20 poetry.lock

Length of output: 9177


🏁 Script executed:

# Locate all project manifest and lock files to verify where version bumps should be applied
find . -type f -name 'pyproject.toml'
find . -type f -name 'poetry.lock'

Length of output: 141


🏁 Script executed:

# Check if the root pyproject.toml references the praisonai‐agents subproject
grep -R 'src/praisonai-agents' -n pyproject.toml

# List all path dependencies in root pyproject.toml
grep -R 'path\s*=' -n pyproject.toml

# Show the top of the root pyproject.toml for context
head -n 100 pyproject.toml

Length of output: 2851


🏁 Script executed:

# Verify if praisonaiagents is present in the lock file and its pinned version
grep -R 'name = "praisonaiagents"' -n poetry.lock -A1 || echo "praisonaiagents not found in lock file"

Length of output: 109


Regenerate the lock file to bump praisonaiagents to 0.0.83
The root poetry.lock still pins praisonaiagents at 0.0.71, but your pyproject.toml now requires praisonaiagents>=0.0.83. Please run:

poetry update praisonaiagents
# or simply
poetry lock

and commit the updated poetry.lock so that the pinned version matches your version bump.

• Location: poetry.lock (line ~6051 shows version = "0.0.71")
• Ensure praisonaiagents is updated to 0.0.83 in the lock file.

🤖 Prompt for AI Agents
In src/praisonai-agents/pyproject.toml at line 7, the version was bumped to
0.0.83 but the root poetry.lock file still pins praisonaiagents at 0.0.71,
causing CI failures. To fix this, run 'poetry update praisonaiagents' or 'poetry
lock' in the root directory to regenerate the lock file with the updated version
0.0.83, then commit the updated poetry.lock file to ensure version consistency.

description = "Praison AI agents for completing complex tasks with Self Reflection Agents"
authors = [
{ name="Mervin Praison" }
Expand All @@ -18,7 +18,9 @@ dependencies = [

[project.optional-dependencies]
mcp = [
"mcp>=1.6.0"
"mcp>=1.6.0",
"fastapi>=0.115.0",
"uvicorn>=0.34.0"
]

memory = [
Expand Down
Loading
Loading