Closed nietsmmar closed 8 months ago
@nietsmmar Are you serving Edge Functions via Supabase CLI? If so, can you try upgrading the Supabase CLI to the latest?
@laktek I am using the latest (available) for manjaro, which is not the latest. But as stated in my post I am having the problem also when having my edge-function deployed.
I logged the Deno.version and it gave me: supabase-edge-runtime-1.33.5 (compatible with Deno v1.39.2)
@nietsmmar Ah gotcha! I have deployed a newer version of edge-runtime to Supabase production. Can you check if you still experience the same issue?
@laktek Nice!! now it works. Thank you so much.
Good to hear it's working! Will close this issue.
Bug report
Describe the bug
When importing
npm:@azure/openai@1.0.0-beta.11
through my import_map I get this error:deployed it looks like this in the logs:
To Reproduce
add
"azureai": "npm:@azure/openai@1.0.0-beta.11"
to your import_map and use it like this:Expected behavior
Being able to use the lib.
System information
Additional context
It happens in local edge functions as well as deployed.