A fix for Jupyter environment variable issue (#135)

- fixes the Jupyter environment variable issues mentioned in issue #134 
- fixes format/lint issues in some unrelated files (from make
format/lint)


![image](https://user-images.githubusercontent.com/347398/201599322-090af858-362d-4d69-bf59-208aea65419a.png)
This commit is contained in:
Delip Rao
2022-11-14 11:34:01 -05:00
committed by GitHub
parent ced29b816b
commit 76cecf8165
15 changed files with 51 additions and 59 deletions

View File

@@ -6,9 +6,7 @@ def test_manifest_wrapper() -> None:
"""Test manifest wrapper."""
from manifest import Manifest
manifest = Manifest(
client_name="openai",
)
manifest = Manifest(client_name="openai",)
llm = ManifestWrapper(client=manifest, llm_kwargs={"temperature": 0})
output = llm("The capital of New York is:")
assert output == "Albany"