Authentication
The CLI uses your GitHub login, Google account, and personal TrueFoundry token. Local use does not require an AWS profile.
GitHub
The CLI uses GitHub CLI for repository operations. Authenticate with your WS.Eng GitHub account:
gh auth login
gh auth status
wseng init --google signs in with your Google account. Commands that use Google services request authentication when needed.
wseng init --google
TrueFoundry
Every LLM call goes through the TrueFoundry gateway with your personal token. wseng init asks for this token by default. You can also configure it with wseng init --truefoundry.
The token is stored as truefoundryToken in ~/.wseng. Set TFY_API_KEY to override the stored token for a shell session.
The default gateway URL is https://tfy.promptlens.trilogy.com/api/llm. Set truefoundryBaseUrl in ~/.wseng or TFY_BASE_URL in the environment to use another gateway URL. TFY_BASE_URL overrides the configuration value.
Use truefoundryModelOverrides in ~/.wseng to map a CLI model name to a TrueFoundry model slug.
Related Docs
Git operations use your configured GitHub CLI login.
