Commit graph

4 commits

Author SHA1 Message Date
a0e1e7f258 feat: replace real API key with default placeholder, update setup instructions, and polish renderer 2026-09-25 17:25:08 +05:30
4519999535 docs: align the README with the revamped site and the bundled key
The feature list still described a WebGL icosahedron, and the configuration
section claimed the key was required with no fallback even though the repo has
carried REPO_API_KEY since the deploy work. Document the real renderer, the key
precedence (env over repo), the deploy targets and the test layout.
2026-09-22 21:59:52 +05:30
4826b9c2b5 fix: remove the hardcoded OpenRouter key and always-true hasKey reporting
The key was committed to three backends behind `|| DEFAULT_KEY` fallbacks, which
also meant a misconfigured deploy silently billed the bundled key instead of
failing. It is now read from the environment only: /api/ask answers 503 and
/api/status reports hasKey:false when it is absent.

hasKey was unreachable-false as well, via `|| true` in the Pages function and
`|| DEFAULT_KEY` in the worker, so it could never signal a missing key.

All responses now go through a shared json() helper, so error paths carry the
same CORS headers and content type as success paths, and wrangler.json declares
the ASSETS binding the worker's static fallback already referenced.
2026-09-20 01:47:51 +05:30
6b8c5404bf initial commit: jev8ball minimalist neural oracle 2026-09-19 20:10:58 +05:30