You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportinterfaceEnv{// If you set another name in wrangler.toml as the value for 'binding',// replace "AI" with the variable name you defined.AI: Ai;}exportdefault{asyncfetch(request,env): Promise<Response>{constresponse=awaitenv.AI.run('@cf/meta/llama-3-8b-instruct',{prompt: "What is the origin of the phrase Hello, World"});returnnewResponse(JSON.stringify(response));},}satisfiesExportedHandler<Env>;
Describe the solution
#5608 cloudflare/workerd#2366
The text was updated successfully, but these errors were encountered: