Find answers from the community

Updated 10 months ago

[Bug]: AttributeError: 'NoneType' object...

At a glance

The community members are discussing issues with the llama_index library, specifically related to an OAI async streaming chat. They have tried downgrading the llama-index-core package to various versions, but the issues persist. One community member suggests debugging the individual packages instead of the monorepo, and notes that the project layout is "weird". Another community member provides a pull request that may address the issue, and mentions that the packages can be installed as editable. The community members are generally welcoming to contributions and are happy to answer questions about the codebase.

Useful resources
anybody have a working oai async streaming chat? I am stuck by this https://github.com/run-llama/llama_index/issues/12180
L
z
17 comments
just starting to look at this
Just try downgrading core for now
pip install llama-index-core==0.10.21 or so
I keep rolling back. Still no luck at 0.10.18
It got rid of the error but now the generator doesn't generate anything
In any case, should have a fix shortly
thanks. I spent a few hours trying to fix it, but it's the first time I actually looked under the hood of the lib.
also, the project is laid out weird. I think I should have been debugging these individual packages instead of trying to debug the monorepo. it's impossible to install as editable (I think).
Each package can be installed as editable (llama-index-core, llama-index-agent-openai, etc.)
The move to mono repo eas recent, it's the only sane way to manage dependencies/testing for 400+ integrations lol
you're a gentleman, and a scholar
I was contributing to autogen for a time, but some design decisions made it undesirable for me to continue with. It looks like llama-index is using similar patterns and primitives to what I would agree with. I may refocus some of my efforts here.
We definitely are very welcoming to contributions! ❤️ happy to help answer any questions you have on the codebase
Add a reply
Sign up and join the conversation on Discord