diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -30,6 +30,13 @@ uvx strangeloop process FILE_PATH [--output OUTPUT_PATH] # Ask Claude Sonnet 3.7 a question uvx strangeloop ask "What is recursive self-improvement in AI?" + +# Configuration management +uvx strangeloop config set api_key "your-api-key" +uvx strangeloop config get api_key +uvx strangeloop config list +uvx strangeloop config delete api_key +uvx strangeloop config path ``` If you've installed the package: @@ -47,3 +54,28 @@ strangeloop ask "What is the meaning of life?" --max-tokens 2048 --temperature 0 The following environment variables are required: - `ANTHROPIC_API_KEY`: Your Anthropic API key for accessing Claude Sonnet 3.7 + +## Configuration + +Strangeloop uses the XDG Base Directory Specification for storing configuration. The configuration file is stored at: + +- Linux/macOS: `~/.config/strangeloop/config.json` (or `$XDG_CONFIG_HOME/strangeloop/config.json` if set) +- Windows: `%APPDATA%\strangeloop\config.json` + +You can manage configuration using the `config` command: + +```bash +# Set a configuration value +strangeloop config set model "claude-3-opus-20240229" + +# Get a configuration value +strangeloop config get model + +# List all configuration values +strangeloop config list + +# Delete a configuration value +strangeloop config delete model + +# Show the configuration file path +strangeloop config path |
