chore: sync local changes to Gitea

This commit is contained in:
shumengya
2026-06-24 22:10:29 +08:00
commit 1ae0174d13
3 changed files with 721 additions and 0 deletions

13
wrangler.toml Normal file
View File

@@ -0,0 +1,13 @@
# Cloudflare Workers AI 反向代理OpenAI / Anthropic 兼容)。
# 在此填写账户 IDAPI Token 不要提交仓库,应用 secret 注入:
# npx wrangler secret put CLOUDFLARE_API_TOKEN
#
name = "worker-ai-proxy"
main = "worker.js"
compatibility_date = "2025-05-18"
[vars]
# 访客密钥Authorization: Bearer ... 或 x-api-key
PROXY_API_KEY = "sk-shumengya666"
# Cloudflare 账户 ID控制台 URL 或 Workers 概览可查看)。
CLOUDFLARE_ACCOUNT_ID = "3fdbaad92364222635c5c1c41ff1af8b"