Skip to main content

Module auth_guidance

Module auth_guidance 

Source
Expand description

Auth guidance strings.

Port of the upstream packages/coding-agent/src/core/auth-guidance.ts. These produce the user-facing “you have no model / no key — here’s how to fix it” messages so every entry point (startup, /model, provider resolution) says the same thing.

Constants§

DOCS_MODELS
DOCS_PROVIDERS
Where the login help points. rpi keeps its documentation embedded in the crate, so this is a stable identifier rather than a filesystem path.

Functions§

no_api_key_found_message
Native formatNoApiKeyFoundMessage.
no_model_selected_message
Native formatNoModelSelectedMessage.
no_models_available_message
Native formatNoModelsAvailableMessage.
provider_login_help
Native getProviderLoginHelp.