Still not sure if this works or how fast I will go over free tier limits but it will sure be better than bart-large-cnn which sucks.
21 lines
417 B
TOML
21 lines
417 B
TOML
name = "miniflux-ai"
|
|
main = "build/worker/shim.mjs"
|
|
compatibility_date = "2024-09-06"
|
|
|
|
[[kv_namespaces]]
|
|
binding = "entries"
|
|
id = "<insert-your-namespace-id>"
|
|
|
|
[build]
|
|
command = "cargo install -q worker-build && worker-build --release"
|
|
|
|
[triggers]
|
|
crons = ["*/15 * * * *"]
|
|
|
|
[observability]
|
|
enabled = true
|
|
head_sampling_rate = 1 # optional. default = 1.
|
|
|
|
[vars]
|
|
CF_AI_MODEL = "@hf/meta-llama/meta-llama-3-8b-instruct"
|