mirror of
https://github.com/kennethnym/aris.git
synced 2026-05-08 17:41:19 +01:00
feat: migrate LLM provider to Cloudflare Workers AI
Replace OpenRouter SDK with direct Cloudflare Workers AI REST API calls. Same model (glm-4.7-flash), validated with arktype. Env vars: CF_ACCOUNT_ID, WORKERS_AI_API_KEY. Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -10,10 +10,11 @@ CREDENTIAL_ENCRYPTION_KEY=
|
||||
# Base URL of the backend
|
||||
BETTER_AUTH_URL=http://localhost:3000
|
||||
|
||||
# OpenRouter (LLM feed enhancement)
|
||||
OPENROUTER_API_KEY=
|
||||
# Optional: override the default model (default: openai/gpt-4.1-mini)
|
||||
# OPENROUTER_MODEL=openai/gpt-4.1-mini
|
||||
# Cloudflare Workers AI (LLM feed enhancement)
|
||||
CF_ACCOUNT_ID=
|
||||
WORKERS_AI_API_KEY=
|
||||
# Optional: override the default model (default: @cf/zai-org/glm-4.7-flash)
|
||||
# WORKERS_AI_MODEL=@cf/zai-org/glm-4.7-flash
|
||||
|
||||
# Apple WeatherKit credentials
|
||||
WEATHERKIT_PRIVATE_KEY=
|
||||
|
||||
Reference in New Issue
Block a user