Luka
Luka
CDCloudflare Developers
Created by Luka on 6/13/2024 in #workers-help
Is there a way to request better/newer embedding models on Cloudflare AI?
Is there a way to request better/newer embedding models on Cloudflare AI?
1 replies
CDCloudflare Developers
Created by Luka on 2/25/2024 in #workers-help
`await new Promise((resolve) => setTimeout(resolve, 1000))` is not awaiting
No description
3 replies
CDCloudflare Developers
Created by Luka on 1/23/2024 in #workers-help
Why `Do you want the application “workerd” to accept incoming network connections?`?
Why running worker project asks for Do you want the application “workerd” to accept incoming network connections? permission? To my understanding it is only required for incoming connections from outside. But since I'm running wrangler dev it is only localhost requests. I'd appreciate some enlightment 🙂
4 replies
CDCloudflare Developers
Created by Luka on 1/23/2024 in #workers-help
Disable REDACTED for URLs containing MD5 hash
So I have an endpoint for posting files that are unique using MD5 hash. I keep getting put: Reduce your concurrent request rate for the same object. (10058) but I cannot debug because all I see is a request to my.tdl/url/path/REDACTED. This is extremely frustrating because this is not a secret in any way, rather a key. I also don't have another way of debugging what urls are being called. I know there is already an issue where it says it's not customisable so I hope posting one more time could draw some attention and give more options to developers to whitelist not sensitives hashes. Cheers:)
2 replies
CDCloudflare Developers
Created by Luka on 12/24/2023 in #workers-help
Why there is no documentation that I can authenticate my tunnels using "globalThis.CF_CLIENT_ID"?
Such as using:
// Add Cloudflare Access Service Token credentials as global variables, used when Worker
// establishes the connection to Cloudflare Tunnel. This ensures only approved services can
// connect to your Tunnel.
declare global {
var CF_CLIENT_ID: string | undefined;
var CF_CLIENT_SECRET: string | undefined;
}

globalThis.CF_CLIENT_ID = CF_SERVICE_CLIENT_ID;
globalThis.CF_CLIENT_SECRET = CF_SERVICE_CLIENT_SECRET;

...
// Add Cloudflare Access Service Token credentials as global variables, used when Worker
// establishes the connection to Cloudflare Tunnel. This ensures only approved services can
// connect to your Tunnel.
declare global {
var CF_CLIENT_ID: string | undefined;
var CF_CLIENT_SECRET: string | undefined;
}

globalThis.CF_CLIENT_ID = CF_SERVICE_CLIENT_ID;
globalThis.CF_CLIENT_SECRET = CF_SERVICE_CLIENT_SECRET;

...
Not always an easy access to Fetch API is available. For example when using vector databases' client etc. 🙂
2 replies
CDCloudflare Developers
Created by Luka on 11/24/2023 in #workers-help
Any resources for implementing Cap'n Proto with Browser as a client and CF Worker as a backend?
I'd like to learn for my own sake but I cannot seem to find any resources. I'm new to Protobuffs.
3 replies