Ganny commited on
Commit
25197ef
·
verified ·
1 Parent(s): 9125cd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -42,6 +42,10 @@ load_dotenv(override=True)
42
 
43
  from uuid import uuid4
44
 
 
 
 
 
45
 
46
  class AgentState(TypedDict):
47
  messages: Annotated[list[AnyMessage], operator.add]
 
42
 
43
  from uuid import uuid4
44
 
45
+ unique_id = uuid4().hex[0:8]
46
+
47
+ os.environ["LANGCHAIN_TRACING_V2"] = "true"
48
+ os.environ["LANGCHAIN_PROJECT"] = f"SquadAI - {unique_id}"
49
 
50
  class AgentState(TypedDict):
51
  messages: Annotated[list[AnyMessage], operator.add]