Hello, I try to use a useCoAgent via a MFE and I am having the error "this.prepareRunAgentInput is not a function". I am not a React expert, I try hard with different LLMs and I was unable to get rid of this error. Can somebody help me? In the MFE import { useCopilotAction, useCopilotReadable, useHumanInTheLoop, useCoAgent as useCoAgentOriginal, } from "@copilotkit/react-core" export function useCoAgent(args: CoAgentArgs) { return useCoAgentOriginal(args); } --package.json { "name": "ai-client-remote", "version": "1.0.0", "scripts": { "start": "webpack serve --mode development --config webpack.config.js", "build": "webpack --mode production --config webpack.config.js" }, "dependencies": { "@copilotkit/react-core": "1.51.2", "@copilotkit/react-ui": "1.51.2", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-react": "^7.23.0", "@babel/preset-typescript": "^7.23.0", "babel-loader": "^9.1.0", "css-loader": "^7.1.2", "html-webpack-plugin": "^5.5.0", "style-loader": "^4.0.0", "typescript": "^5.0.0", "webpack": "^5.88.0", "webpack-cli": "^5.1.0", "webpack-dev-server": "^5.2.2" } } Regards |