PraisonAI 0.0.7__tar.gz → 0.0.8__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.7
3
+ Version: 0.0.8
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
@@ -2,6 +2,9 @@
2
2
 
3
3
  from .cli import PraisonAI
4
4
 
5
- if __name__ == "__main__":
5
+ def main():
6
6
  praison_ai = PraisonAI()
7
- praison_ai.main()
7
+ praison_ai.main()
8
+
9
+ if __name__ == "__main__":
10
+ main()
@@ -35,7 +35,7 @@ class PraisonAI:
35
35
  tasks = []
36
36
  if framework == "autogen":
37
37
  # Load the LLM configuration dynamically
38
- print(self.config_list)
38
+ # print(self.config_list)
39
39
  llm_config = {"config_list": self.config_list}
40
40
 
41
41
  for role, details in config['roles'].items():
@@ -114,7 +114,11 @@ class PraisonAI:
114
114
  ui = args.ui # Default UI flag
115
115
 
116
116
  if args.agent_file:
117
- self.agent_file = args.agent_file
117
+ if args.agent_file == "tests.test": # Argument used for testing purposes
118
+ full_path = os.path.abspath("agents.yaml")
119
+ else:
120
+ full_path = os.path.abspath(args.agent_file)
121
+ self.agent_file = full_path
118
122
  else:
119
123
  full_path = os.path.abspath(self.agent_file)
120
124
  self.filename = full_path
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "praisonAI"
3
- version = "0.0.7"
3
+ version = "0.0.8"
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