Steven(or Siwen) Ren

Results 13 comments of Steven(or Siwen) Ren

The same issue that happened to me, Framer V67

> > It's worth mentioning you need to read the question it asks. > > It says > > ``` > > Enter the URL from email: > > ```...

After analyzing error log, here are some findings: 1. Error Type: `AI_InvalidDataContentError: Invalid data content. Content string is not a base64-encoded media.` This indicates that the system expects to receive...

@lgrammel I've tried this on Cloudflare Worker, and shows all passed.

> Therefore we have a confirmed location of the issue, but we were unable to reproduce it. The only difference that I'm aware of is that we use different data...

The log form API hosting demo: ``` Error details: AI_InvalidDataContentError: Invalid data content. Content string is not a base64-encoded media. at (node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/ai/dist/index.mjs:744:0) at (node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/ai/dist/index.mjs:3288:0) at (node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/ai/dist/index.mjs:3330:0) at (lib/utils/index.ts:147:33) at (app/api/chat/route.ts:12:55)...

This is complete Cloudflare worker testing log: ``` json { "truncated": false, "outcome": "ok", "scriptVersion": { "id": "40c59538-4294-41a5-a300-e048b1c2f82b" }, "scriptName": "polished-math-96b3", "diagnosticsChannelEvents": [], "exceptions": [], "logs": [ { "message": [...

Hi,@lgrammel I try to copy `convertToCoreMessages`logic and test if this issue occurs inside the Function: ``` javascript function base64ToUint8Array(base64: string): Uint8Array { try { const parts = base64.split(','); if (parts.length...

> @steveoOn > > ``` > "url": "data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnK..." > ``` > > This is not a valid image base64 (`...` at end). Where the 3 dots in the data that...