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
- OAuth
Config - OAuth2 configuration.
- System
OneConfig - 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 askflags 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.