Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
|
@@ -30,8 +30,8 @@ class EndpointHandler():
|
|
| 30 |
def __init__(self, path=""):
|
| 31 |
|
| 32 |
# Config LangChain
|
| 33 |
-
|
| 34 |
-
|
| 35 |
|
| 36 |
# Create LLM
|
| 37 |
model_id = path
|
|
|
|
| 30 |
def __init__(self, path=""):
|
| 31 |
|
| 32 |
# Config LangChain
|
| 33 |
+
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
| 34 |
+
os.environ["LANGCHAIN_API_KEY"] = "ls__9834e6b2ff094d43a28418c9ecea2fd5"
|
| 35 |
|
| 36 |
# Create LLM
|
| 37 |
model_id = path
|