feat: add cloudflare workers ai integration for lightrag

This commit is contained in:
al1k 2025-07-10 13:05:19 +06:00 committed by GitHub
parent f153330419
commit 0d69e40995
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ LLM_MODEL = "@cf/meta/llama-3.2-3b-instruct"
WORKING_DIR = "../dickens" #you can change output as desired WORKING_DIR = "../dickens" #you can change output as desired
# Cloudflare init
class CloudflareWorker: class CloudflareWorker:
def __init__(self, def __init__(self,
cloudflare_api_key: str, cloudflare_api_key: str,