Configure the prompt directory and size guard
- Last Updated: December 23, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Prompts are configured through the assistant.prompts.dir property. The
default directory is ./prompts. A cumulative character budget is
applied to protect the memory footprint. If the budget is exceeded, the system fails
during startup. This fail-fast approach ensures stability.
Configuration details
The following table summarizes the configuration properties:
| Property | Default value | Description |
|---|---|---|
| assistant.prompts.dir | ./prompts |
Specifies the directory where prompts are stored |
| Size guard | Applied | Enforces a cumulative character budget |
Notes
- Keep prompts small and modular.
- Ensure the cumulative size does not exceed the configured budget.
- Validate prompt size before startup to prevent failure.