You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1082,10 +1082,11 @@ See the [MCP tools example](examples/mcp/) for complete documentation and more e
1082
1082
1083
1083
### Custom Tools
1084
1084
1085
-
You can create your own tools using the [Raix function dispatch pattern](https://github.com/OlympiaAI/raix-rails?tab=readme-ov-file#use-of-toolsfunctions). Custom tools should be placed in `.roast/initializers/` (subdirectories are supported):
1085
+
You can create your own tools using the [Raix function dispatch pattern](https://github.com/OlympiaAI/raix-rails?tab=readme-ov-file#use-of-toolsfunctions). Custom tools should be placed in initializers directories (subdirectories are supported):
# OR {workflow_directory}/initializers/tools/git_analyzer.rb
1089
1090
module MyProject
1090
1091
module Tools
1091
1092
module GitAnalyzer
@@ -1133,22 +1134,45 @@ The tool will be available to the AI model during workflow execution, and it can
1133
1134
1134
1135
### Project-specific Configuration
1135
1136
1136
-
You can extend Roast with project-specific configuration by creating initializers in `.roast/initializers/`. These are automatically loaded when workflows run, allowing you to:
1137
+
You can extend Roast with project-specific configuration by creating initializers. These are automatically loaded when workflows run, allowing you to:
1137
1138
1138
1139
- Add custom instrumentation
1139
1140
- Configure monitoring and metrics
1140
1141
- Set up project-specific tools
1141
1142
- Customize workflow behavior
1142
1143
1143
-
Example structure:
1144
+
Roast supports initializers in multiple locations (in priority order):
1145
+
1146
+
1. **Workflow-local initializers**: Place alongside your workflow steps
1147
+
2. **Global XDG config**: Shared across all projects using XDG Base Directory specification
0 commit comments