Skip to content

Conversation

@StrongMonkey
Copy link
Contributor

@StrongMonkey StrongMonkey commented Aug 29, 2024

This should fix the bug

2024-08-29T05:47:14.205Z [server] [ERROR]  ⨯ unhandledRejection: TypeError: Cannot read properties of undefined (reading 'digest')
    at /Users/daishan/work/ui/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:36:17710
    at AsyncLocalStorage.run (node:async_hooks:346:14)
    at eL (/Users/daishan/work/ui/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:273726)
    at /Users/daishan/work/ui/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:269554
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-08-29T05:47:14.206Z [server] [ERROR]  ⨯ unhandledRejection: TypeError: Cannot read properties of undefined (reading 'digest')
    at /Users/daishan/work/ui/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:36:17710
    at AsyncLocalStorage.run (node:async_hooks:346:14)
    at eL (/Users/daishan/work/ui/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:273726)
    at /Users/daishan/work/ui/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:269554
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

This is because we are sending an empty tool to run stringify.

#257

Signed-off-by: Daishan Peng <daishan@acorn.io>
@StrongMonkey StrongMonkey merged commit 4d8baa6 into gptscript-ai:main Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants