c701c6dad7
Fireworks AI is a first-class provider in hermes-agent — FIREWORKS_API_KEY is listed in tools/environments/local.py and the provider is selectable via the model picker (api.fireworks.ai in model_metadata, hermes_cli/models.py). Fireworks API keys follow the format fw_<40 alphanumeric chars> and were absent from _PREFIX_PATTERNS in agent/redact.py. The ENV-assignment and Bearer header patterns catch FIREWORKS_API_KEY=fw_... in config output, but a raw key in a stack trace, debug print, or tool error passed through completely unmasked. Four unit tests added to TestFireworksToken covering bare token masking, env assignment, short-prefix false positive, and visible prefix in output.