swarmauri_prompt_j2prompttemplate 0.7.3.dev1__tar.gz → 0.9.0.dev3__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.3
2
2
  Name: swarmauri_prompt_j2prompttemplate
3
- Version: 0.7.3.dev1
3
+ Version: 0.9.0.dev3
4
4
  Summary: Jinja2 Prompt Template for Swarmauri.
5
5
  License: Apache-2.0
6
6
  Author: Jacob Stewart
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swarmauri_prompt_j2prompttemplate"
3
- version = "0.7.3.dev1"
3
+ version = "0.9.0.dev3"
4
4
  description = "Jinja2 Prompt Template for Swarmauri."
5
5
  license = "Apache-2.0"
6
6
  readme = "README.md"
@@ -45,7 +45,7 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
45
45
  log_cli_date_format = "%Y-%m-%d %H:%M:%S"
46
46
  asyncio_default_fixture_loop_scope = "function"
47
47
 
48
- [tool.project.entry-points."swarmauri.prompts"]
48
+ [project.entry-points.'swarmauri.prompts']
49
49
  J2PromptTemplate = "swarmauri_prompt_j2prompttemplate:J2PromptTemplate"
50
50
 
51
51
  [build-system]
@@ -223,7 +223,3 @@ class J2PromptTemplate(PromptTemplateBase):
223
223
  """
224
224
  env = self.get_env()
225
225
  env.filters[name] = filter_func
226
-
227
-
228
- # Create a singleton instance for peagen usage with code generation mode enabled
229
- j2pt = J2PromptTemplate()
@@ -1,7 +1,6 @@
1
- from .J2PromptTemplate import J2PromptTemplate, j2pt
1
+ from .J2PromptTemplate import J2PromptTemplate
2
2
 
3
-
4
- __all__ = ["J2PromptTemplate", "j2pt"]
3
+ __all__ = ["J2PromptTemplate"]
5
4
 
6
5
  try:
7
6
  # For Python 3.8 and newer