-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when testing frontend #1
Comments
Thank you for pointing this out! I have made some changes to how to run the frontend agent. Please run the following:
Let me know if you have any other questions! |
Thanks for the quick response. However, the problem is now that the BaseLLM module is not available.
In src/worksheet/llm there is only basic.py, is the base.py missing here? |
Should be fixed now! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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'
The text was updated successfully, but these errors were encountered: