Skip to contents

Configuration helpers for artclaude. All settings are managed via environment variables following the ART_CLAUDE_* convention.

Usage

.get_cfg()

.api_key()

.def_model()

.def_max_tokens()

.def_timeout()

.credentials()

Value

Named list with api_key, model, base_url, max_tokens, timeout

Functions

  • .get_cfg(): Get configuration list

  • .api_key(): Get API key

  • .def_model(): Get default model

  • .def_max_tokens(): Get max tokens

  • .def_timeout(): Get timeout

  • .credentials(): Create ellmer credentials function using ART_CLAUDE_KEY

Environment Variables

See README.md for complete documentation of all environment variables.

See also