Spaces:
Build error
Build error
Update app.py
Browse files38 unmodified lines39404142434438 unmodified linesmessage_history.append({"role": "system", "content": sytem_prompt})message_history.append({"role": "user", "content": user_input})for notebook_html, messages in run_interactive_notebook(client, model, message_history, sbx, max_new_tokens=max_new_tokens):message_history = messagesyield notebook_html, message_history38 unmodified lines394041424344454638 unmodified linesmessage_history.append({"role": "system", "content": sytem_prompt})message_history.append({"role": "user", "content": user_input})print("history:", message_history)for notebook_html, messages in run_interactive_notebook(client, model, message_history, sbx, max_new_tokens=max_new_tokens):message_history = messagesyield notebook_html, message_history
app.py+2