Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -320,7 +320,6 @@ def get_agent():
|
|
| 320 |
_agent = _agent or create_agent()
|
| 321 |
return _agent
|
| 322 |
|
| 323 |
-
//
|
| 324 |
def invoke_agent(message: str, thread_id: str = "default") -> str:
|
| 325 |
"""Invoke the agent with a user message and return its response text.
|
| 326 |
thread_id: conversation thread identifier for memory isolation."""
|
|
|
|
| 320 |
_agent = _agent or create_agent()
|
| 321 |
return _agent
|
| 322 |
|
|
|
|
| 323 |
def invoke_agent(message: str, thread_id: str = "default") -> str:
|
| 324 |
"""Invoke the agent with a user message and return its response text.
|
| 325 |
thread_id: conversation thread identifier for memory isolation."""
|