gpt-engineer-org / gpt-engineer

Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app
MIT License
51.94k stars 6.76k forks source link

TypeError: string indices must be integers #1184

Closed Lucidology closed 1 month ago

Lucidology commented 2 months ago

I installed it and it worked at first and it wrote some code for my prompts. Then it started saying "TypeError: string indices must be integers" for any prompt I gave. I have attached a log. This is on WSL, talking to aphrodite on another system. It did work once so am not sure what made it break.

gpte-error.txt

captivus commented 1 month ago

This appears to be the result of the model returning data in unexpected formats. It looks like you are using this with a locally deployed instance of this model: https://huggingface.co/abideen/AlphaMonarch-daser. Is that so?

viborc commented 1 month ago

Hey @Lucidology it would be helpful to us if you could confirm or provide additional context related to what @captivus asked from you in the previous comment.

viborc commented 1 month ago

Another option here, as proposed by @zigabrencic on a call with me, is to try using another model and see if you are getting the same issue. We are trying to understand if this is a gpt-engineer-related issue or something that's related to the model itself.

viborc commented 1 month ago

Hey @Lucidology can you please check this and let us know the outcome? We'll be closing this issue if we don't hear back from you by next Thursday, but you are always welcome to open it.