mirror of
https://github.com/prdlk/cv.git
synced 2026-08-02 17:31:41 +00:00
35 lines
1008 B
JSON
35 lines
1008 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "cv-tailor",
|
|
"main": "worker/index.ts",
|
|
"compatibility_date": "2026-06-20",
|
|
"compatibility_flags": ["nodejs_compat"],
|
|
"assets": {
|
|
"not_found_handling": "single-page-application"
|
|
},
|
|
"observability": {
|
|
"enabled": true
|
|
},
|
|
"vars": {
|
|
// Frontier open-weight model for resume plan generation. The remote AI
|
|
// binding has a ~60s gateway cap; kimi-k2.6 (1T) exceeds it on this prompt.
|
|
"PLAN_MODEL": "@cf/openai/gpt-oss-120b",
|
|
// Fast model for the interactive chat.
|
|
"CHAT_MODEL": "@cf/meta/llama-3.3-70b-instruct-fp8-fast"
|
|
},
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "cv-tailor",
|
|
// Placeholder for local dev. Replace with the real ID from
|
|
// `wrangler d1 create cv-tailor` before deploying.
|
|
"database_id": "00000000-0000-4000-8000-0000c0ffee00",
|
|
"migrations_dir": "migrations"
|
|
}
|
|
],
|
|
"ai": {
|
|
"binding": "AI",
|
|
"remote": true
|
|
}
|
|
}
|