Skip to content

Commit

Permalink
fix: add missing langsmith env var (#74)
Browse files Browse the repository at this point in the history
related #66
  • Loading branch information
Lee-W authored Nov 2, 2023
1 parent 33a6397 commit d08987d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/ask_astro/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class LangSmithConfig:
"""Contains the config variables for the Langsmith API."""

project_name = os.environ.get("LANGCHAIN_PROJECT")
tracing_v2 = os.environ.get("LANGCHAIN_TRACING_V2")
endpoint = os.environ.get("LANGCHAIN_ENDPOINT")
api_key = os.environ.get("LANGCHAIN_API_KEY")


class WeaviateConfig:
Expand Down
3 changes: 3 additions & 0 deletions scripts/local_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def generate_api_env_template():
"SLACK_CLIENT_SECRET": "< >",
"SLACK_SIGNING_SECRET": "< >",
"LANGCHAIN_PROJECT": "< >",
"LANGCHAIN_TRACING_V2": "< >",
"LANGCHAIN_ENDPOINT": "< >",
"LANGCHAIN_API_KEY": "< >",
"OPENAI_API_KEY": "< >",
"WEAVIATE_URL": "< >",
"WEAVIATE_API_KEY": "< >",
Expand Down

0 comments on commit d08987d

Please sign in to comment.