ulysses/services
Mubashir R 535d05c142
fix: SearchService.search() calls comprehensive_web_search incorrectly (broken public API) (#1720)
SearchService.search() did:

    raw_results = await comprehensive_web_search(
        query, max_results=10 * depth, fetch_content=fetch_content)

comprehensive_web_search is a synchronous function whose count knob is
`max_pages` (not `max_results`) and which has no `fetch_content` parameter, so
the call raised TypeError on argument binding; `await` on its non-coroutine
return would also fail. It returns a context string, or a (context, sources)
tuple with return_sources=True — not the list of dicts the wrapper iterates.

The method is exported in services/search/__init__.py and services/__init__.py
with a usage example in its docstring, so any caller of the documented public
API hit an immediate crash. Call it correctly via asyncio.to_thread with
max_pages + return_sources=True and use the returned source list as the rows.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 13:33:56 +09:00
..
docs Odysseus v1.0 2026-05-31 23:58:26 +09:00
faces Odysseus v1.0 2026-05-31 23:58:26 +09:00
hwfit fix(hwfit): detect unified-memory NVIDIA (Grace Blackwell GB10 / DGX Spark) instead of 'No GPU' (#1340) (#1372) 2026-06-03 03:19:39 +09:00
memory Rebuild memory vector index from the full saved set, not just the audited owner (#1747) 2026-06-03 11:36:24 +09:00
research Skip invalid research service sources (#1583) 2026-06-03 08:57:09 +09:00
search fix: SearchService.search() calls comprehensive_web_search incorrectly (broken public API) (#1720) 2026-06-03 13:33:56 +09:00
shell Odysseus v1.0 2026-05-31 23:58:26 +09:00
stt STT: clean temp audio files on transcription failure 2026-06-02 20:43:24 +09:00
tts TTS: include mp3 files in cache stats 2026-06-02 20:43:29 +09:00
youtube fix: youtube (services) comment formatter crashes on a non-dict comment (#1746) 2026-06-03 13:29:01 +09:00
__init__.py Odysseus v1.0 2026-05-31 23:58:26 +09:00