Skip to main content

Module config

Module config 

Source
Expand description

Configuration types for grr-core.

Zero-config by design: the only thing a user must supply is OAuth credentials. Every performance knob (concurrency, pooling, timeouts, compression, transport) is a compile-time constant — see crate::core::http.

Structs§

GrrConfig
Main configuration for the client
OAuthConfig
OAuth2 configuration.
SystemOneConfig
System One provider configuration — the only tunable surface of the natural-language entry point (grr ask).

Constants§

DEFAULT_CONFIDENCE_THRESHOLD
The method-choice confidence below which grr ask flags its answer. A cookbook-style starting point, to be re-tuned on real requests.
DEFAULT_SYSTEMONE_ENDPOINT
TypeSafe’s hosted System One endpoint — the default endpoint.
DEFAULT_SYSTEMONE_MODEL
TypeSafe’s flagship System One model — the default model.
NO_API_KEY_HELP
Explain how to supply a System One API key, for when none could be resolved. Written for someone who has never used TypeSafe: name the env route first (the key cannot be committed either way), then the config-file route, then the provider-agnostic escape hatch.
NO_CLIENT_HELP
Explain how to supply an OAuth client, for when none could be resolved.