diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-02 21:42:33 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-02 21:42:33 +0300 |
| commit | dac35c77721c97f093a44d98164b38534452de9f (patch) | |
| tree | f874d013b49026e31999cd30435936f579e4b46b /internal/processor/processor.go | |
| parent | 9d258ee5ebe2773b477d553b62c0c67650a5a5cf (diff) | |
task 00m/00n/00b: remove dead stub, add interface assertions, fix HTTP timeout
- Remove dead DownloadImage stub from image/search.go (always returned nil,
real implementation lives in Downloader.DownloadImage in download.go)
- Add compile-time interface assertions for OpenAIProvider, ProviderWithFallback,
and OpenAIClient to catch interface drift at compile time
- Replace http.DefaultClient (no timeout) with a shared imageHTTPClient
(60s timeout) in both OpenAIClient and NanoBananaClient Download methods;
prevents goroutine hangs on slow/unresponsive image servers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/processor.go')
0 files changed, 0 insertions, 0 deletions
