Using AI queries in selfhosted retool instance causes error "Setting up fake worker failed: "Cannot find module './pdf.worker.js' Require stack: - /retool_backend/bundle/main.js"."

Using AI queries in selfhosted retool instance causes error

Error: "Setting up fake worker failed: "Cannot find module './pdf.worker.js' Require stack: - /retool_backend/bundle/main.js"."

I have activated all ai features in the settings..

1 Like

Hey @ben10, looks like this is a bug with the Convert document to text action. We have an internal ticket tracking the issue, and will update this post when we have any additional information to share. Are other AI actions working for you?

I don't have a openai plan atm. When I try "Extract Entity from Text" I get this error: "RetoolAIQuery: Missing OPENAI_PROXY_API_TOKEN" same for the other actions.
By Default some key from Retool is used I guess but this is not working in my selfhosted instance.

Hi @joeBumbaca ,

the issue is occuring in 3.52.1-Stable using Convert Document to Text.
We are unable to update ReTool know for quite some time.

Can you please provide a timeline on when this issue will be fixed?

error:"Setting up fake worker failed: "Cannot find module './pdf.worker.js' Require stack: - /retool_backend/bundle/main.js"."

Thanks

1 Like