Hadrian is experimental alpha software. Do not use in production.
Hadrian
Configuration

Configuration

Complete configuration reference for Hadrian Gateway

Hadrian Gateway is configured using a TOML file (hadrian.toml).

Configuration File Location

The gateway looks for configuration in the following locations:

  1. Path specified by --config flag
  2. ./hadrian.toml in the current directory

Environment Variable Interpolation

You can use environment variables in your configuration:

[providers.openai]
api_key = "${OPENAI_API_KEY}"

Configuration Sections

On this page