Spaces:
Sleeping

byte-vortex commited on
Commit
21f28ae
·
verified ·
1 Parent(s): e149b2d

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. 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
- return "🍄 TEST RESPONSE"
 
 
 
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):