Mohan
Mohan
Explore posts from servers
CDCloudflare Developers
Created by Mohan on 5/16/2024 in #workers-help
Not binding env variables
actually yeh i am not using local flag. its remote
13 replies
CDCloudflare Developers
Created by Mohan on 5/16/2024 in #workers-help
Not binding env variables
but it should till show the value right?
13 replies
CDCloudflare Developers
Created by Mohan on 5/16/2024 in #workers-help
Not binding env variables
nooooo
13 replies
CDCloudflare Developers
Created by Mohan on 5/16/2024 in #workers-help
Not binding env variables
local mode
13 replies
CDCloudflare Developers
Created by Mohan on 5/16/2024 in #workers-help
Not binding env variables
also it shows me that the binding is present but i am not able to use it in env wrangler.toml changed... Your worker has access to the following bindings: - KV Namespaces: - KV: c58b6202814f4224acea97627d0c18aa - Queues: - MY_QUEUE: batch-vector-queue - Vectorize Indexes: - VECTORIZE_INDEX: supermem-vector-1 - Browser: - Name: MYBROWSER - AI: - Name: AI
13 replies
CDCloudflare Developers
Created by Mohan on 5/16/2024 in #workers-help
Not binding env variables
Also thank you for that very quick reply
13 replies
CDCloudflare Developers
Created by Mohan on 5/16/2024 in #workers-help
Not binding env variables
name = "cf-ai-backend"
main = "src/index.ts"
compatibility_date = "2024-02-23"
compatibility_flags = ['nodejs_compat']

[[vectorize]]
binding = "VECTORIZE_INDEX"
index_name = "supermem-vector-1"

[ai]
binding = "AI"

[[queues.producers]]
queue = "batch-vector-queue"
binding = "MY_QUEUE"

[[queues.consumers]]
queue = "batch-vector-queue"

[[kv_namespaces]]
binding = "KV"
id = "37a90353da63401e84e20e71165531d0"
preview_id = "c58b6202814f4224acea97627d0c18aa"

[browser]
binding = "MYBROWSER"

[placement]
mode = "smart"
name = "cf-ai-backend"
main = "src/index.ts"
compatibility_date = "2024-02-23"
compatibility_flags = ['nodejs_compat']

[[vectorize]]
binding = "VECTORIZE_INDEX"
index_name = "supermem-vector-1"

[ai]
binding = "AI"

[[queues.producers]]
queue = "batch-vector-queue"
binding = "MY_QUEUE"

[[queues.consumers]]
queue = "batch-vector-queue"

[[kv_namespaces]]
binding = "KV"
id = "37a90353da63401e84e20e71165531d0"
preview_id = "c58b6202814f4224acea97627d0c18aa"

[browser]
binding = "MYBROWSER"

[placement]
mode = "smart"
13 replies