olca 0.2.2__tar.gz → 0.2.3__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: olca
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A Python package for experimental usage of Langchain and Human-in-the-Loop
5
5
  Home-page: https://github.com/jgwill/olca
6
6
  Author: Jean GUillaume ISabelle
@@ -9,10 +9,11 @@ import yaml
9
9
  import langsmith
10
10
  # Initialize LangSmith client
11
11
  LANGSMITH_API_KEY = os.getenv("LANGSMITH_API_KEY")
12
- if not LANGSMITH_API_KEY:
13
- print("Error: LANGSMITH_API_KEY environment variable is not set.")
12
+ LANGCHAIN_API_KEY = os.getenv("LANGCHAIN_API_KEY")
13
+ if not LANGSMITH_API_KEY and not LANGCHAIN_API_KEY:
14
+ print("Error: LANGSMITH_API_KEY or LANGCHAIN_API_KEY environment variable is not set.")
14
15
  exit(1)
15
- client = langsmith.Client(api_key=LANGSMITH_API_KEY)
16
+ client = langsmith.Client(api_key=LANGSMITH_API_KEY or LANGCHAIN_API_KEY)
16
17
 
17
18
 
18
19
  #jgwill/olca1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: olca
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A Python package for experimental usage of Langchain and Human-in-the-Loop
5
5
  Home-page: https://github.com/jgwill/olca
6
6
  Author: Jean GUillaume ISabelle
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "olca"
10
- version = "0.2.2"
10
+ version = "0.2.3"
11
11
  description = "A Python package for experimental usage of Langchain and Human-in-the-Loop"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.6"
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='olca',
5
- version = "0.2.2",
5
+ version = "0.2.3",
6
6
  author='Jean GUillaume ISabelle',
7
7
  author_email='jgi@jgwill.com',
8
8
  description='A Python package for experimenting with Langchain agent and interactivity in Terminal modalities.',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes