Hunter
01/21/2026, 6:16 PMpython
async for token in response_stream:
print(token)
break
Warn logs (bad config is expected)
2026-01-21T10:08:20.428 [BAML WARN] Function MyFunction:
(1 other previous tries)
Client: new_client (<unknown>) - 1ms
---PROMPT---
system: H
---REQUEST OPTIONS---
model: "gpt5"
---ERROR (Unspecified error code: 2)---
reqwest::Error { kind: Request, url: "https://api.bad_urls.com/v1/chat/completions", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: nodename nor servname provided, or not known" })) }Vaibhav (BAML 🐑)
01/21/2026, 9:21 PMVaibhav (BAML 🐑)
01/21/2026, 9:21 PMHunter
01/21/2026, 9:23 PMVaibhav (BAML 🐑)
01/21/2026, 9:24 PMHunter
01/21/2026, 9:25 PMHunter
01/21/2026, 9:27 PMHunter
01/21/2026, 9:31 PMaaronv (BAML)
01/21/2026, 9:33 PMaaronv (BAML)
01/21/2026, 9:34 PMHunter
01/21/2026, 10:21 PM