| ▲ | kentonv 3 days ago | |
When using Dynamic Workers, you generally don't run the AI harness inside the Dynamic Worker itself, but rather as a regular worker. But your harness would have a tool call that's like "executeCode" which runs code in the dynamic worker. You could certainly set it up to allow the AI to import arbitrary npm modules if you want. We even offer a library to help with that: | ||