rnikitin / QuantGPT

powerful ai-copilot for quant traders and researchers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while running `quantgpt.py` due to outdated `AppUser` reference

BaileySimrell opened this issue · comments

Description

Encountered a KeyError related to AppUser when trying to run quantgpt.py with the latest Chainlit version.

Steps to Reproduce

  1. Set up the environment according to the installation instructions.
  2. Run the command chainlit run quantgpt.py.

Expected Behavior

The application should initialize without any errors.

Actual Behavior

The application fails to start, throwing a KeyError for AppUser.

Error Log

Traceback (most recent call last):
  File "chainlit", line 8, in <module>
  ...
KeyError: 'AppUser'

Possible Solution

The Chainlit framework has been updated to v1.0.0, which renames AppUser to User. The codebase needs to be updated to reflect these changes.