This is the original goose_ask function without formatting. Use this if you need the raw behavior.
goose_ask_raw(
prompt,
output_format = c("text", "json"),
quiet = TRUE,
timeout = getOption("goose.timeout", 300),
retries = getOption("goose.retries", 1),
session_id = NULL
)Character string with response (text format) or list (json format)
Character string with the question or prompt
Character, either "text" or "json"
Logical, suppress status messages
Numeric, timeout in seconds (default 300, i.e., 5 minutes). Complex queries may take longer. Set to Inf for no timeout.
Integer, number of retries after the first attempt (default uses
getOption('goose.retries', 1)). Retries only occur for timeout/transient errors.
Optional session ID for context preservation