Skip to content

Commit

Permalink
Merge pull request #209 from MervinPraison/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
MervinPraison authored Dec 24, 2024
2 parents 06dc90d + 9a24085 commit 7cf6207
Show file tree
Hide file tree
Showing 9 changed files with 553 additions and 429 deletions.
2 changes: 1 addition & 1 deletion 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.0.1 gunicorn markdown
RUN pip install flask praisonai==2.0.4 gunicorn markdown
EXPOSE 8080
CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]
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.0.1 gunicorn markdown\n&#34;)
file.write(&#34;RUN pip install flask praisonai==2.0.4 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
19 changes: 1 addition & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion praisonai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Praisonai < Formula

desc "AI tools for various AI applications"
homepage "https://github.com/MervinPraison/PraisonAI"
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.0.1.tar.gz"
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.0.4.tar.gz"
sha256 "1828fb9227d10f991522c3f24f061943a254b667196b40b1a3e4a54a8d30ce32" # Replace with actual SHA256 checksum
license "MIT"

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.0.1 gunicorn markdown\n")
file.write("RUN pip install flask praisonai==2.0.4 gunicorn markdown\n")
file.write("EXPOSE 8080\n")
file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')

Expand Down
2 changes: 1 addition & 1 deletion praisonai/ui/config/.chainlit/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cot = "full"

# Specify a CSS file that can be used to customize the user interface.
# The CSS file can be served from the public directory or via an external link.
custom_css = "https://cdn.jsdelivr.net/gh/MervinPraison/[email protected].1/praisonai/ui/public/praison.css"
custom_css = "https://cdn.jsdelivr.net/gh/MervinPraison/[email protected].0/praisonai/ui/public/praison.css"

# Specify a Javascript file that can be used to customize the user interface.
# The Javascript file can be served from the public directory.
Expand Down
21 changes: 19 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
[build-system]
requires = [
"poetry-core>=1.0.0",
"setuptools>=42",
"wheel>=0.37.0",
"instructor>=0.4.8",
"python-dotenv>=1.0.1",
"PyYAML>=6.0"
]
build-backend = "poetry.core.masonry.api"

[project]
name = "PraisonAI"
version = "2.0.1"
version = "2.0.4"
description = "PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration."
readme = "README.md"
license = ""
requires-python = ">=3.10,<3.13"
authors = [
{ name = "Mervin Praison" }
]
Expand All @@ -17,6 +29,11 @@ dependencies = [
"praisonaiagents>=0.0.4"
]

[project.scripts]
praisonai = "praisonai.__main__:main"
setup-conda-env = "setup.setup_conda_env:main"
praisonai-call = "praisonai.api.call:main"

[project.optional-dependencies]
autogen = [
"pyautogen>=0.2.19",
Expand Down Expand Up @@ -89,7 +106,7 @@ call = [

[tool.poetry]
name = "PraisonAI"
version = "2.0.1"
version = "2.0.4"
description = "PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration."
authors = ["Mervin Praison"]
license = ""
Expand Down
10 changes: 6 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
rich>=13.7
pyautogen>=0.2.19
crewai>=0.30.4
gradio>=4.20.0
chainlit>=1.1.301
markdown>=3.5
pyparsing>=3.0.0
python-dotenv>=1.0.1
instructor>=0.4.8
PyYAML>=6.0
praisonaiagents>=0.0.4
duckduckgo_search
praisonai_tools
Loading

0 comments on commit 7cf6207

Please sign in to comment.