(body: unknown)
| 42 | const OLLAMA_CLOUD_TAGS_URL = 'https://ollama.com/api/tags' |
| 43 | |
| 44 | const okResponse = (body: unknown) => ({ |
| 45 | ok: true, |
| 46 | status: 200, |
| 47 | statusText: 'OK', |
| 48 | json: vi.fn().mockResolvedValue(body), |
| 49 | }) |
| 50 | |
| 51 | const errorResponse = (status: number, statusText = 'Unauthorized') => ({ |
| 52 | ok: false, |