Skip to content
Lara Vieira edited this page Apr 6, 2026 · 2 revisions

Welcome to the Willy wiki!

Willy configurations

There are two ways of configuring Willy:

  • or config.yml file
  • or environment variables Each setting is described below:

Environment

It tells Willy to run in production or developer mode.

Configuration File Environment Variable Values Default
environment: ENVIRONMENT - development: Willy runs in development mode.
- production: Willy runs in production mode.
development

Context lifetime

How long should a conversation be saved in memory when idle. After this time, Willy forgets everything about the conversation.

Configuration File Environment Variable Values Default
context-life-time: WILLY_CONTEXT_LIFETIME - type 1s for 1 second
- type 1m for 1 minute
- type 1h for 1 hour
- type 1d for 1 day
You can not concatenate or sum time like 1h 15m, use 75m instead.
5m

Enable OpenAI

Should use OpenAI integration.

Configuration File Environment Variable Values Default
openai:
enable:
WILLY_OPENAI_ENABLE - true: Enable integration.
- false: Disable integration.
false

OpenAI Token

The authorization token of OpenAI integration, can be genarated here

Configuration File Environment Variable Values Default
openai:
enable:
WILLY_OPENAI_ENABLE - true: Enable integration.
- false: Disable integration.
false

Clone this wiki locally