Joshua Sundance Bailey commited on
Commit
c7e7639
1 Parent(s): 3868a47

check env for langsmith_project

Browse files
.idea/kubernetes-settings.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="KubernetesSettings">
4
+ <option name="contextName" value="swca-aks" />
5
+ </component>
6
+ </project>
langchain-streamlit-demo/app.py CHANGED
@@ -77,7 +77,7 @@ langsmith_api_key = api_key_from_env("LANGSMITH") or st.sidebar.text_input(
77
  type="password",
78
  )
79
  if langsmith_api_key:
80
- langsmith_project = st.sidebar.text_input(
81
  "LangSmith Project Name",
82
  value="langchain-streamlit-demo",
83
  )
 
77
  type="password",
78
  )
79
  if langsmith_api_key:
80
+ langsmith_project = os.environ["LANGCHAIN_PROJECT"] or st.sidebar.text_input(
81
  "LangSmith Project Name",
82
  value="langchain-streamlit-demo",
83
  )