Fixing tools

This commit is contained in:
MervinPraison committed 2024-10-30 19:29:48 +00:00
1 parent 5b47004306
commit c4285cd004
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install flask praisonai==0.1.8 gunicorn markdown
RUN pip install flask praisonai==0.1.9 gunicorn markdown
EXPOSE 8080
CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]
+1 -1
View File
@@ -110,7 +110,7 @@ Loads environment variables from .env file or system and sets them.</p>
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==0.1.8 gunicorn markdown\n&#34;)
file.write(&#34;RUN pip install flask praisonai==0.1.9 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;)
+1 -1
View File
@@ -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/0.1.8.tar.gz"
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/0.1.9.tar.gz"
sha256 "1828fb9227d10f991522c3f24f061943a254b667196b40b1a3e4a54a8d30ce32" # Replace with actual SHA256 checksum
license "MIT"
+1 -1
View File
@@ -288,7 +288,7 @@ class AgentsGenerator:
backstory_filled = details['backstory'].format(topic=topic)
# Adding tools to the agent if exists
agent_tools = [tools_dict.get(tool) for tool in details.get('tools', [])]
agent_tools = [tools_dict[tool] for tool in details.get('tools', []) if tool in tools_dict]
llm_model = details.get('llm') # Get the llm configuration
if llm_model:
+1 -1
View File
@@ -56,7 +56,7 @@ class CloudDeployer:
file.write("FROM python:3.11-slim\n")
file.write("WORKDIR /app\n")
file.write("COPY . .\n")
file.write("RUN pip install flask praisonai==0.1.8 gunicorn markdown\n")
file.write("RUN pip install flask praisonai==0.1.9 gunicorn markdown\n")
file.write("EXPOSE 8080\n")
file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "PraisonAI"
version = "0.1.8"
version = "0.1.9"
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 = ""