#1 by Daniel_Frey
Hi everyone, especially Chris and Max Grossmann I recently heard of alter_ego, with which you can include an LLM like ChatGPT into an oTree experiment. Max Grossman created the project; you can check out the code here: https://github.com/mrpg/ego. Unfortunately, there are two dependency errors when installing both packages in the same venv; see the attachment. Locally, the compiler complains, but the program still works fine (as far as I can see). However, when I try to upload the code to Heroku, I get the following error: ERROR: Cannot install -r requirements.txt (line 1) and otree because these package versions have conflicting dependencies. remote: remote: The conflict is caused by: remote: alter-ego-llm 1.3.0 depends on click>=8.1 remote: uvicorn 0.13.4 depends on click==7.* The markupsave dependency would return a similar error, I suppose. Is oTree really dependent on uvicorn==0.13.4 and markupsave==1.1.1, or can they be changed to the recent versions (0.30.6 for uvicorn, 2.1.5 for MarkupSave)? Best, Daniel
#2 by gr0ssmann
Yeah, this is a bit of a problem. ego would be able to accept click>=7.1. However, this leaves the Jinja2 dependency which in turn depends on a recent version markupsafe. Sadly, we cannot easily downgrade Jinja2. I hope oTree is able to upgrade to recent versions of these packages. As you have noted, all seems to work well locally. If there is any other solution, I would be open to hearing it.