def probe.config
import cswap-bend-cli@0.1.0.0/usage/text.bend as Textimport Base
import cswap-bend-cli@0.1.0.0/http.bend as Http
38def probe.config(token: String) -> String:
39 Http.config("POST", messages_url(),
40 [("Authorization", "Bearer " ++ token), ("anthropic-version", "2023-06-01"),
41 ("anthropic-beta", "claude-code-20250219,oauth-2025-04-20"), ("content-type", "application/json"),
42 ("User-Agent", user_agent())],
43 probe.body(), 20)
Uses (8)
Used by (0)
No other definition uses this definition.