We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dde354 commit a8d950bCopy full SHA for a8d950b
docs/observability/how_to_guides/toubleshooting_variable_caching.mdx
@@ -13,12 +13,12 @@ If you’re not seeing traces in your tracing project or notice traces logged to
13
First, check that the environment variables are set correctly by running:
14
15
```python
16
-from langsmith import utils
+import os
17
18
-print(utils.get_env_var("LANGSMITH_PROJECT"))
19
-print(utils.get_env_var("LANGSMITH_TRACING_V2"))
20
-print(utils.get_env_var("LANGSMITH_ENDPOINT"))
21
-print(utils.get_env_var("LANGSMITH_API_KEY"))
+print(os.getenv("LANGSMITH_PROJECT"))
+print(os.getenv("LANGSMITH_TRACING_V2"))
+print(os.getenv("LANGSMITH_ENDPOINT"))
+print(os.getenv("LANGSMITH_API_KEY"))
22
```
23
24
If the output does not match what’s defined in your .env file, it’s likely due to environment variable caching.
0 commit comments