PraisonAI 0.0.12__tar.gz → 0.0.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {praisonai-0.0.12 → praisonai-0.0.13}/PKG-INFO +1 -1
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/cli.py +10 -6
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/deploy.py +0 -1
- {praisonai-0.0.12 → praisonai-0.0.13}/pyproject.toml +1 -1
- {praisonai-0.0.12 → praisonai-0.0.13}/README.md +0 -0
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/__init__.py +0 -0
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/__main__.py +0 -0
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/auto-old.py +0 -0
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/auto.py +0 -0
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/cli-old.py +0 -0
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/test.py +0 -0
- {praisonai-0.0.12 → praisonai-0.0.13}/praisonai/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: praisonAI
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13
|
|
4
4
|
Summary: 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.
|
|
5
5
|
Author: Mervin Praison
|
|
6
6
|
Requires-Python: >=3.10,<3.13
|
|
@@ -26,8 +26,14 @@ class PraisonAI:
|
|
|
26
26
|
self.init = init
|
|
27
27
|
|
|
28
28
|
def generate_crew_and_kickoff(self):
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
if self.agent_file == '/app/api:app' or self.agent_file == 'api:app':
|
|
30
|
+
self.agent_file = 'agents.yaml'
|
|
31
|
+
try:
|
|
32
|
+
with open(self.agent_file, 'r') as f:
|
|
33
|
+
config = yaml.safe_load(f)
|
|
34
|
+
except FileNotFoundError:
|
|
35
|
+
print(f"File not found: {self.agent_file}")
|
|
36
|
+
return
|
|
31
37
|
|
|
32
38
|
topic = config['topic']
|
|
33
39
|
framework = self.framework or config.get('framework')
|
|
@@ -161,14 +167,12 @@ class PraisonAI:
|
|
|
161
167
|
parser.add_argument("--auto", nargs=argparse.REMAINDER, help="Enable auto mode and pass arguments for it")
|
|
162
168
|
parser.add_argument("--init", nargs=argparse.REMAINDER, help="Enable auto mode and pass arguments for it")
|
|
163
169
|
parser.add_argument("agent_file", nargs="?", help="Specify the agent file")
|
|
164
|
-
parser.add_argument("-b", "--bind", nargs="?", default=None, help=argparse.SUPPRESS) # This will catch and ignore -b
|
|
165
170
|
parser.add_argument("--deploy", action="store_true", help="Deploy the application") # New argument
|
|
166
171
|
|
|
167
172
|
args = parser.parse_args()
|
|
168
173
|
|
|
169
|
-
# If -b was provided with 'api:app', ignore it and set agent_file to '
|
|
170
|
-
if args.
|
|
171
|
-
args.bind = None
|
|
174
|
+
# If -b was provided with 'api:app', ignore it and set agent_file to 'agents.yaml'
|
|
175
|
+
if args.agent_file == 'api:app' or args.agent_file == '/app/api:app':
|
|
172
176
|
args.agent_file = 'agents.yaml'
|
|
173
177
|
|
|
174
178
|
return args
|
|
@@ -19,7 +19,6 @@ class CloudDeployer:
|
|
|
19
19
|
commands = [
|
|
20
20
|
"yes | gcloud auth configure-docker us-central1-docker.pkg.dev",
|
|
21
21
|
"gcloud artifacts repositories create praisonai-repository --repository-format=docker --location=us-central1",
|
|
22
|
-
"$(gcloud config get-value project)",
|
|
23
22
|
"docker build --platform linux/amd64 -t gcr.io/$(gcloud config get-value project)/praisonai-app:latest .",
|
|
24
23
|
"docker tag gcr.io/$(gcloud config get-value project)/praisonai-app:latest us-central1-docker.pkg.dev/$(gcloud config get-value project)/praisonai-repository/praisonai-app:latest",
|
|
25
24
|
"docker push us-central1-docker.pkg.dev/$(gcloud config get-value project)/praisonai-repository/praisonai-app:latest",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "praisonAI"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.13"
|
|
4
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."
|
|
5
5
|
authors = ["Mervin Praison"]
|
|
6
6
|
license = ""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|