Closed Herbak closed 3 months ago
Solved adding "type": "module"
in the package.json of the @ax-llm/ax
node module
Checking...
Fixed in https://github.com/ax-llm/ax/pull/48
It was tested on both:
test.cjs
(require('@ax-llm/ax')
)test.mjs
(import { AxAI } from '@ax-llm/ax'
)in plain Node.js - everything works as expected.
CC @dosco
I'm submitting a bug report
Summary On a fresh install, when importing AxAI, here is the log :
Note : I use vanilla JS, not TS