Spaces:
Sleeping
Sleeping
Update langgraph_impl/my_agent.py
Browse files
langgraph_impl/my_agent.py
CHANGED
|
@@ -17,7 +17,7 @@ def create_langchain_agent() -> AgentExecutor:
|
|
| 17 |
llm = ChatOpenAI(
|
| 18 |
model_name="gpt-4o",
|
| 19 |
temperature=0.1,
|
| 20 |
-
openai_api_key=os.getenv("
|
| 21 |
)
|
| 22 |
|
| 23 |
tools = [
|
|
|
|
| 17 |
llm = ChatOpenAI(
|
| 18 |
model_name="gpt-4o",
|
| 19 |
temperature=0.1,
|
| 20 |
+
openai_api_key=os.getenv("OPEN_AI_TOKEN"),
|
| 21 |
)
|
| 22 |
|
| 23 |
tools = [
|