Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +4 -1
ui/contentagentui.py
CHANGED
|
@@ -114,8 +114,11 @@ class ContentAgentUI:
|
|
| 114 |
|
| 115 |
# ---------- agent call ----------
|
| 116 |
|
|
|
|
| 117 |
@staticmethod
|
| 118 |
-
def _call_agent(text: str, agent) -> str:
|
|
|
|
|
|
|
| 119 |
try:
|
| 120 |
if agent is None:
|
| 121 |
return "Content Agent's LLM is sleeping and will need to be started. Click 'Start Agent'."
|
|
|
|
| 114 |
|
| 115 |
# ---------- agent call ----------
|
| 116 |
|
| 117 |
+
|
| 118 |
@staticmethod
|
| 119 |
+
def _call_agent(self, text: str, agent) -> str:
|
| 120 |
+
|
| 121 |
+
#def _call_agent(text: str, agent) -> str:
|
| 122 |
try:
|
| 123 |
if agent is None:
|
| 124 |
return "Content Agent's LLM is sleeping and will need to be started. Click 'Start Agent'."
|