Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files254 unmodified lines255256257258259260261262263264254 unmodified linesif not clean_message:return "", current_historynext_history = [*current_history, {"role": "user", "content": clean_message}]context = _companion_context(current, collection, current_history, position)answer = _companion_answer(clean_message, current, context)return "", [*next_history, _assistant_message(answer)]companion_reply = myco_reply254 unmodified lines255256257258259260261262263264254 unmodified linesif not clean_message:return "", current_historynext_history = [*current_history, (clean_message, None)]context = _companion_context(current, collection, current_history, position)answer = _companion_answer(clean_message, current, context)return "", [*next_history[:-1], (clean_message, answer)]companion_reply = myco_reply
game/engine.py+2-2