Skip to content

Wrong token set to .dev.vars via npm run setup #194

@MartinMalinda

Description

@MartinMalinda

Hi I just noticed wrong token in my .dev.vars when re-running npm run setup.

I think it's happening here:

https://github.com/cloudflare/vibesdk/blob/main/scripts/setup.ts#L473

It passes CLOUDFLARE_API_TOKEN to CLOUDFLARE_AI_GATEWAY_TOKEN.

And then the app crashes on 401.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions