Spaces:
Build error
Build error
Romain Lembo
commited on
Commit
·
197357e
1
Parent(s):
9a6bf7a
Update BasicAgent to use Groq as the provider instead of HuggingFace
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class BasicAgent:
|
|
| 18 |
"""Is a langgraph agent."""
|
| 19 |
def __init__(self):
|
| 20 |
print("BasicAgent initialized.")
|
| 21 |
-
self.graph = build_graph(provider="
|
| 22 |
|
| 23 |
def __call__(self, question: str) -> str:
|
| 24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
|
|
|
| 18 |
"""Is a langgraph agent."""
|
| 19 |
def __init__(self):
|
| 20 |
print("BasicAgent initialized.")
|
| 21 |
+
self.graph = build_graph(provider="groq")
|
| 22 |
|
| 23 |
def __call__(self, question: str) -> str:
|
| 24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|