-
Notifications
You must be signed in to change notification settings - Fork 29
Error when testing frontend #1
Description
Hello, much appreciated for releasing this code, but unfortunately I have encountered some issues while trying to run the code example. Is it possible for you to take a look at the error, please? I have already fully followed your instructions on the page. Thank you so much.
error:(genie-worksheets) onlymoonpassedby@baka:~/genie-worksheets/frontend/restaurant$ chainlit run app_restaurant.py
2024-11-04 19:01:47 - HTTP Request: GET https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json "HTTP/1.1 200 OK"
2024-11-04 19:01:48 - Your app is available at http://localhost:8000
gio: http://localhost:8000: Operation not supported
2024-11-04 19:01:52 - gsheet_to_genie() got an unexpected keyword argument 'bot_name'
Traceback (most recent call last):
File "/home/onlymoonpassedby/genie-worksheets/.venv/lib/python3.11/site-packages/chainlit/utils.py", line 44, in wrapper
return await user_function(**params_values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/onlymoonpassedby/genie-worksheets/.venv/lib/python3.11/site-packages/chainlit/step.py", line 112, in async_wrapper
result = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/onlymoonpassedby/genie-worksheets/frontend/restaurant/app_restaurant.py", line 53, in initialize
gsheet_to_genie(
TypeError: gsheet_to_genie() got an unexpected keyword argument 'bot_name'
2024-11-04 19:01:52 - gsheet_to_genie() got an unexpected keyword argument 'bot_name'
Traceback (most recent call last):
File "/home/onlymoonpassedby/genie-worksheets/.venv/lib/python3.11/site-packages/chainlit/utils.py", line 44, in wrapper
return await user_function(**params_values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/onlymoonpassedby/genie-worksheets/.venv/lib/python3.11/site-packages/chainlit/step.py", line 112, in async_wrapper
result = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/onlymoonpassedby/genie-worksheets/frontend/restaurant/app_restaurant.py", line 53, in initialize
gsheet_to_genie(
TypeError: gsheet_to_genie() got an unexpected keyword argument 'bot_name'