code changes from review

This commit is contained in:
Justin Lee 2024-11-06 15:31:55 -08:00
parent e746f741d1
commit 5a3e1c5f63

View file

@ -172,7 +172,7 @@
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdin", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"User> Write me a 3 sentence poem about alpaca\n" "User> Write me a 3 sentence poem about alpaca\n"
@ -188,7 +188,7 @@
] ]
}, },
{ {
"name": "stdin", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"User> exit\n" "User> exit\n"
@ -247,7 +247,7 @@
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdin", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"User> what is 1+1\n" "User> what is 1+1\n"
@ -261,7 +261,7 @@
] ]
}, },
{ {
"name": "stdin", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"User> what is llama + alpaca\n" "User> what is llama + alpaca\n"
@ -277,7 +277,7 @@
] ]
}, },
{ {
"name": "stdin", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"User> what was the first question\n" "User> what was the first question\n"
@ -291,7 +291,7 @@
] ]
}, },
{ {
"name": "stdin", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"User> exit\n" "User> exit\n"
@ -387,8 +387,6 @@
" else:\n", " else:\n",
" async for log in EventLogger().log(response):\n", " async for log in EventLogger().log(response):\n",
" log.print()\n", " log.print()\n",
" \n",
" models_response = client.models.list()\n",
"\n", "\n",
"# In a Jupyter Notebook cell, use `await` to call the function\n", "# In a Jupyter Notebook cell, use `await` to call the function\n",
"await run_main()\n", "await run_main()\n",