Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- game/engine.py +4 -1
game/engine.py
CHANGED
|
@@ -280,7 +280,10 @@ companion_reply = myco_reply
|
|
| 280 |
|
| 281 |
|
| 282 |
def _companion_answer(message, current, context):
|
| 283 |
-
|
|
|
|
|
|
|
|
|
|
| 284 |
|
| 285 |
|
| 286 |
def _local_pipeline_answer(message, current, context):
|
|
|
|
| 280 |
|
| 281 |
|
| 282 |
def _companion_answer(message, current, context):
|
| 283 |
+
answer = _local_pipeline_answer(message, current, context)
|
| 284 |
+
if answer is None:
|
| 285 |
+
return _fallback_companion_answer(current, context)
|
| 286 |
+
return answer
|
| 287 |
|
| 288 |
|
| 289 |
def _local_pipeline_answer(message, current, context):
|