thv llm token
Print a fresh LLM gateway access token to stdout
Synopsis
Print a fresh OIDC access token to stdout (all other output on stderr). Intended for use as apiKeyHelper or auth.command in OIDC-capable AI tools.
A cached or refreshable token is printed without prompting. If none exists (for example after "thv llm setup --lazy"), the OIDC browser login flow is launched automatically and the resulting token is printed once login completes.
thv llm token [flags]
Options
-h, --help help for token
--skip-browser Print the OIDC authorization URL instead of opening a browser, then wait for the callback. Use in headless/SSH/CI environments where no system browser is available.
Options inherited from parent commands
--debug Enable debug mode
SEE ALSO
- thv llm - Manage LLM gateway authentication