mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
OpenCode Web Search, the default search provider for Console-connected
users, made its own request with no size cap and discarded the body of
failed responses. It now uses the shared response handling, and OpenCode
API error bodies ({ _tag, message }) supply the failure explanation.
Reading a failed response for its explanation is bounded to one second
so a stalled error body still fails promptly.
Also formats the earlier changes with Prettier and tidies the tests.
|
||
|---|---|---|
| .. | ||
| script | ||
| src | ||
| test | ||
| bunfig.toml | ||
| drizzle.config.ts | ||
| package.json | ||
| README.md | ||
| schema.json | ||
| sst-env.d.ts | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsconfig.tests.json | ||
@opencode/core
Core runtime services for OpenCode.