Context
Controls what context is included in model interactions by default.
Field | Description |
---|---|
ruskel |
List of Rust module outlines to include |
path |
List of project files to include |
project_map |
Whether to include a project file map |
text |
List of named text blocks to include |
url |
List of URLs to include |
Text blocks have the following fields:
Field | Description |
---|---|
name |
Name of the text block |
content |
Content of the text block |
Example
(
context: (
ruskel: ["src/lib.rs", "src/main.rs"],
path: ["Cargo.toml", "README.md"],
project_map: true,
text: [
(
name: "style_guide",
content: "- Use 4 spaces for indentation\n- Max line length 80 chars",
),
],
url: ["https://example.com/api-docs"],
),
)