Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,8 @@ def execute_jupyter_agent(sytem_prompt, user_input, max_new_tokens):
|
|
47 |
print("history", execute_jupyter_agent.message_history)
|
48 |
|
49 |
|
50 |
-
for notebook_html, message_history in run_interactive_notebook(client, model,
|
|
|
51 |
yield notebook_html
|
52 |
|
53 |
|
|
|
47 |
print("history", execute_jupyter_agent.message_history)
|
48 |
|
49 |
|
50 |
+
for notebook_html, message_history in run_interactive_notebook(client, model, execute_jupyter_agent.message_history, sbx, max_new_tokens=max_new_tokens):
|
51 |
+
execute_jupyter_agent.message_history = message_history
|
52 |
yield notebook_html
|
53 |
|
54 |
|