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.
- {olca-0.2.2 → olca-0.2.3}/PKG-INFO +1 -1
- {olca-0.2.2 → olca-0.2.3}/olca/olcacli.py +4 -3
- {olca-0.2.2 → olca-0.2.3}/olca.egg-info/PKG-INFO +1 -1
- {olca-0.2.2 → olca-0.2.3}/pyproject.toml +1 -1
- {olca-0.2.2 → olca-0.2.3}/setup.py +1 -1
- {olca-0.2.2 → olca-0.2.3}/LICENSE +0 -0
- {olca-0.2.2 → olca-0.2.3}/README.md +0 -0
- {olca-0.2.2 → olca-0.2.3}/olca/__init__.py +0 -0
- {olca-0.2.2 → olca-0.2.3}/olca.egg-info/SOURCES.txt +0 -0
- {olca-0.2.2 → olca-0.2.3}/olca.egg-info/dependency_links.txt +0 -0
- {olca-0.2.2 → olca-0.2.3}/olca.egg-info/entry_points.txt +0 -0
- {olca-0.2.2 → olca-0.2.3}/olca.egg-info/requires.txt +0 -0
- {olca-0.2.2 → olca-0.2.3}/olca.egg-info/top_level.txt +0 -0
- {olca-0.2.2 → olca-0.2.3}/setup.cfg +0 -0
@@ -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
|
-
|
13
|
-
|
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
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='olca',
|
5
|
-
version = "0.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
|
File without changes
|
File without changes
|