mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-17 07:26:16 +00:00
Improve: remove extra spaces in get_from_env error (#15064)
This commit is contained in:
@@ -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."
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user