ask-always-returns-string

IN premise

`ask()` returns a string on every code path — LLM response, raw search results, or fallback; it never raises an exception to the caller.

Summary

The ask function is guaranteed to give back a text value no matter what happens internally — whether it gets a normal LLM answer, falls back to raw search results, or hits some other edge case. Callers never need try/catch around it because it handles all its own errors and always resolves to a string.

Dependents

These beliefs depend on this one:

Details

Sourceentries/2026/04/29/reasons_lib-ask.md