6 Replies
Mathis @ blaxel.ai
Did you configure binding inside your wrangler.toml? Did you wrangler login?
A.M.Asgari
A.M.AsgariOP3mo ago
Yes, the kv binding works just fine, both locally and when deploy But ai gives that error
Mathis @ blaxel.ai
Have you generate the env interface in your code? With I think npm run cf-typegen ?
A.M.Asgari
A.M.AsgariOP3mo ago
Yes It works correctly as i use vscode and it is not showing any errors and recognises all types
A.M.Asgari
A.M.AsgariOP3mo ago
I think its irrevelent to my issue

Did you find this page helpful?