PraisonAI 0.0.11__tar.gz → 0.0.12__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: praisonAI
3
- Version: 0.0.11
3
+ Version: 0.0.12
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.
@@ -161,14 +161,15 @@ class PraisonAI:
161
161
  parser.add_argument("--auto", nargs=argparse.REMAINDER, help="Enable auto mode and pass arguments for it")
162
162
  parser.add_argument("--init", nargs=argparse.REMAINDER, help="Enable auto mode and pass arguments for it")
163
163
  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
164
+ parser.add_argument("-b", "--bind", nargs="?", default=None, help=argparse.SUPPRESS) # This will catch and ignore -b
165
165
  parser.add_argument("--deploy", action="store_true", help="Deploy the application") # New argument
166
166
 
167
167
  args = parser.parse_args()
168
168
 
169
- # If -b was provided, remove it and its value from args
170
- if hasattr(args, "bind") and args.bind is not None:
171
- delattr(args, "bind")
169
+ # If -b was provided with 'api:app', ignore it and set agent_file to 'api.py'
170
+ if args.bind == 'api:app':
171
+ args.bind = None
172
+ args.agent_file = 'agents.yaml'
172
173
 
173
174
  return args
174
175
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "praisonAI"
3
- version = "0.0.11"
3
+ version = "0.0.12"
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