Runtime Settings enable dynamic configuration of Agent behavior during execution without requiring server restarts. This powerful feature allows users to adjust Agent parameters through the UI in real-time.
Runtime Settings provide a flexible configuration system that:
Define runtime settings using the AgentRuntimeSettings interface:
Each setting property supports rich configuration options:
Create dropdown selections with enum values:
Show settings based on other setting values:
Control where settings appear in the interface:
dropdown-item - Settings in dropdown menu (default)chat-bottom - Settings at bottom of chat interfaceIndividual settings can override global placement:
Convert UI setting values to Agent-compatible formats:
Here's a comprehensive runtime settings configuration:
Integrate runtime settings with your Agent Server:
Add visual indicators to settings:
Create sophisticated visibility rules:
Settings not appearing: Check schema validation and placement configuration
Transform errors: Ensure transform function handles all possible setting values
Visibility not working: Verify dependsOn references existing setting keys
Enable debug mode to inspect runtime settings behavior: