There was an error while loading. Please reload this page.
DocumentLoader
1 parent 648104a commit d2cd732Copy full SHA for d2cd732
1 file changed
AGENTS.md
@@ -8,6 +8,11 @@ Read [CONTRIBUTING.md](CONTRIBUTING.md) for code style, linting (e.g. `make lint
8
- For brand-new test files, prefer function-based pytest tests (module-level `def test_...`) over class-based tests.
9
- Use descriptive test names that reflect behavior (e.g. `test_remote_context_via_link_alternate`).
10
11
+## Document loaders
12
+
13
+- Class-based composed Document Loaders accept only `DocumentLoader` instances — never plain
14
+ callables, and never type as `DocumentLoader | Callable`.
15
16
## Documentation
17
18
- Put docs-specific CSS in `docs/stylesheets/extra.css` and register it via `extra_css` in `mkdocs.yml`.
0 commit comments