Documentation
¶
Overview ¶
Command whoami reports which providers are configured and lists their models.
It reads the provider registry — the same one backing the package-level Complete — and asks each provider whether a usable API key resolves from the environment via AuthStatus. Nothing is sent to any provider; this only inspects local configuration, so it is a good way to confirm which keys are in place before running anything else.
Run it with whatever provider keys you have exported:
DEEPSEEK_API_KEY=sk-... go run ./example/llm/whoami go run ./example/llm/whoami --models # also list each configured model go run ./example/llm/whoami --all # also list unconfigured providers
Click to show internal directories.
Click to hide internal directories.