adam-community 1.0.21__tar.gz → 1.0.23__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.
Files changed (37) hide show
  1. {adam_community-1.0.21 → adam_community-1.0.23}/PKG-INFO +1 -1
  2. adam_community-1.0.23/adam_community/__version__.py +1 -0
  3. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/tool.py +3 -1
  4. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community.egg-info/PKG-INFO +1 -1
  5. adam_community-1.0.21/adam_community/__version__.py +0 -1
  6. {adam_community-1.0.21 → adam_community-1.0.23}/README.md +0 -0
  7. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/__init__.py +0 -0
  8. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/__init__.py +0 -0
  9. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/build.py +0 -0
  10. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/cli.py +0 -0
  11. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/init.py +0 -0
  12. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/parser.py +0 -0
  13. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/Makefile.j2 +0 -0
  14. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/README_agent.md.j2 +0 -0
  15. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/README_kit.md.j2 +0 -0
  16. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/__init__.py +0 -0
  17. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/agent_python.py.j2 +0 -0
  18. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/configure.json.j2 +0 -0
  19. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/initial_assistant_message.md.j2 +0 -0
  20. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/initial_assistant_message_en.md.j2 +0 -0
  21. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/initial_system_prompt.md.j2 +0 -0
  22. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/initial_system_prompt_en.md.j2 +0 -0
  23. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/input.json.j2 +0 -0
  24. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/kit_python.py.j2 +0 -0
  25. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/long_description.md.j2 +0 -0
  26. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/long_description_en.md.j2 +0 -0
  27. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/templates/rag_python.py.j2 +0 -0
  28. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/cli/updater.py +0 -0
  29. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community/util.py +0 -0
  30. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community.egg-info/SOURCES.txt +0 -0
  31. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community.egg-info/dependency_links.txt +0 -0
  32. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community.egg-info/entry_points.txt +0 -0
  33. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community.egg-info/requires.txt +0 -0
  34. {adam_community-1.0.21 → adam_community-1.0.23}/adam_community.egg-info/top_level.txt +0 -0
  35. {adam_community-1.0.21 → adam_community-1.0.23}/setup.cfg +0 -0
  36. {adam_community-1.0.21 → adam_community-1.0.23}/setup.py +0 -0
  37. {adam_community-1.0.21 → adam_community-1.0.23}/test/test_util_tool.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: adam_community
3
- Version: 1.0.21
3
+ Version: 1.0.23
4
4
  Summary: Adam Community Tools and Utilities
5
5
  Home-page: https://github.com/yourusername/adam-community
6
6
  Author: Adam Community
@@ -0,0 +1 @@
1
+ __version__ = "1.0.23"
@@ -22,6 +22,8 @@ class Tool:
22
22
  cls.CONDA_ENV = "base"
23
23
  if not hasattr(cls, "calltype"):
24
24
  cls.calltype = "bash"
25
+ if not hasattr(cls, "DISPLAY_NAME"):
26
+ cls.DISPLAY_NAME = cls.__name__
25
27
 
26
28
 
27
29
  def inputShow(self, **kwargs):
@@ -42,7 +44,7 @@ class Tool:
42
44
 
43
45
  scripts = '\n'.join(['bash -s << EOF', scripts, 'EOF'])
44
46
  else:
45
- scripts = f"""python {self.__name__}.py"""
47
+ scripts = f"""python {self.DISPLAY_NAME}.py"""
46
48
  return Tool.markdown_terminal(scripts, workdir=kwargs["task_id"],
47
49
  user=kwargs["user"], conda_env=self.CONDA_ENV)
48
50
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: adam_community
3
- Version: 1.0.21
3
+ Version: 1.0.23
4
4
  Summary: Adam Community Tools and Utilities
5
5
  Home-page: https://github.com/yourusername/adam-community
6
6
  Author: Adam Community
@@ -1 +0,0 @@
1
- __version__ = "1.0.21"