mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-19 19:11:33 +00:00
Improve: remove extra spaces in get_from_env error (#15064)
This commit is contained in:
parent
c3f8733aef
commit
0e149bbb4c
@ -41,5 +41,5 @@ def get_from_env(key: str, env_key: str, default: Optional[str] = None) -> str:
|
|||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Did not find {key}, please add an environment variable"
|
f"Did not find {key}, please add an environment variable"
|
||||||
f" `{env_key}` which contains it, or pass"
|
f" `{env_key}` which contains it, or pass"
|
||||||
f" `{key}` as a named parameter."
|
f" `{key}` as a named parameter."
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user