PraisonAI 0.0.11__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.11 → praisonai-0.0.13}/PKG-INFO +12 -1
- {praisonai-0.0.11 → praisonai-0.0.13}/README.md +11 -1
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/cli.py +11 -6
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/deploy.py +0 -1
- {praisonai-0.0.11 → praisonai-0.0.13}/pyproject.toml +1 -1
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/__init__.py +0 -0
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/__main__.py +0 -0
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/auto-old.py +0 -0
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/auto.py +0 -0
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/cli-old.py +0 -0
- {praisonai-0.0.11 → praisonai-0.0.13}/praisonai/test.py +0 -0
- {praisonai-0.0.11 → 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
|
|
@@ -166,3 +166,14 @@ gcloud run deploy praisonai-service \
|
|
|
166
166
|
--region us-central1 \
|
|
167
167
|
--allow-unauthenticated \
|
|
168
168
|
--set-env-vars OPENAI_MODEL_NAME=${OPENAI_MODEL_NAME},OPENAI_API_KEY=${OPENAI_API_KEY},OPENAI_API_BASE=${OPENAI_API_BASE}
|
|
169
|
+
|
|
170
|
+
## Contributing
|
|
171
|
+
|
|
172
|
+
- Fork on GitHub: Use the "Fork" button on the repository page.
|
|
173
|
+
- Clone your fork: `git clone https://github.com/yourusername/praisonAI.git`
|
|
174
|
+
- Create a branch: `git checkout -b new-feature`
|
|
175
|
+
- Make changes and commit: `git commit -am "Add some feature"`
|
|
176
|
+
- Push to your fork: `git push origin new-feature`
|
|
177
|
+
- Submit a pull request via GitHub's web interface.
|
|
178
|
+
- Await feedback from project maintainers.
|
|
179
|
+
|
|
@@ -145,4 +145,14 @@ gcloud run deploy praisonai-service \
|
|
|
145
145
|
--platform managed \
|
|
146
146
|
--region us-central1 \
|
|
147
147
|
--allow-unauthenticated \
|
|
148
|
-
--set-env-vars OPENAI_MODEL_NAME=${OPENAI_MODEL_NAME},OPENAI_API_KEY=${OPENAI_API_KEY},OPENAI_API_BASE=${OPENAI_API_BASE}
|
|
148
|
+
--set-env-vars OPENAI_MODEL_NAME=${OPENAI_MODEL_NAME},OPENAI_API_KEY=${OPENAI_API_KEY},OPENAI_API_BASE=${OPENAI_API_BASE}
|
|
149
|
+
|
|
150
|
+
## Contributing
|
|
151
|
+
|
|
152
|
+
- Fork on GitHub: Use the "Fork" button on the repository page.
|
|
153
|
+
- Clone your fork: `git clone https://github.com/yourusername/praisonAI.git`
|
|
154
|
+
- Create a branch: `git checkout -b new-feature`
|
|
155
|
+
- Make changes and commit: `git commit -am "Add some feature"`
|
|
156
|
+
- Push to your fork: `git push origin new-feature`
|
|
157
|
+
- Submit a pull request via GitHub's web interface.
|
|
158
|
+
- Await feedback from project maintainers.
|
|
@@ -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,13 @@ 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", 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,
|
|
170
|
-
if
|
|
171
|
-
|
|
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':
|
|
176
|
+
args.agent_file = 'agents.yaml'
|
|
172
177
|
|
|
173
178
|
return args
|
|
174
179
|
|
|
@@ -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
|