mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
pop fix
This commit is contained in:
parent
fcd1a57429
commit
f1faa9c924
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@
|
|||
"def chat_loop():\n",
|
||||
" conversation_history = []\n",
|
||||
" while len(questions) > 0:\n",
|
||||
" user_input = questions.pop()\n",
|
||||
" user_input = questions.pop(0)\n",
|
||||
" if user_input.lower() in [\"exit\", \"quit\", \"bye\"]:\n",
|
||||
" cprint(\"Ending conversation. Goodbye!\", \"yellow\")\n",
|
||||
" break\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue