context-labs / autodoc

Experimental toolkit for auto-generating codebase documentation using LLMs
MIT License
1.93k stars 113 forks source link

Error: this.callbackManager.handleLLMError is not a function #15

Closed Arielegend closed 1 year ago

Arielegend commented 1 year ago

After successfully indexing my repo, I keep getting error message "this.callbackManager.handleLLMError is not a function"

what can I do ?

samheutmaker commented 1 year ago

This means your call to OpenAI is failing for some reason. We don't currently surface the underlying error. I'll push a change that throws the underlying error later today.

Arielegend commented 1 year ago

Cool. My workaround it is to reInstall AutoDoc.

However, I have a question, If I successfuly indexed a repo, then I query it and all good, then for some reason I get this error - what I do to fix it is to reInstall autoDoc.

My question is - DO I NEED TO RE-INDEX REPO?

samheutmaker commented 1 year ago

No, we'll fix this error. Do you have payment method associated with your OpenAI account?

polto commented 1 year ago

same here. after indexing I get this error on querying.

Arielegend commented 1 year ago

Fixed Summarizing, for some reason it works under root and doesn't under a normal user

polto commented 1 year ago

I still have this error while trying to run doc q.

tried to install via npm or from source-code. still have the same error.