Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def should_continue(state: AgentState) -> str:
|
|
129 |
def reasoning_node(state: AgentState) -> AgentState:
|
130 |
"""Agent reasoning and tool selection"""
|
131 |
# Get Hugging Face API token from environment
|
132 |
-
token = os.environ.get("
|
133 |
if not token:
|
134 |
raise ValueError("Hugging Face API token not found in environment variables")
|
135 |
|
|
|
129 |
def reasoning_node(state: AgentState) -> AgentState:
|
130 |
"""Agent reasoning and tool selection"""
|
131 |
# Get Hugging Face API token from environment
|
132 |
+
token = os.environ.get("HF_TOKEN")
|
133 |
if not token:
|
134 |
raise ValueError("Hugging Face API token not found in environment variables")
|
135 |
|