Skip to content

Commit dc55afb

Browse files
committed
docs: align contributor fallback guidance
1 parent 50051f7 commit dc55afb

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ This package does own the human-input drafting boundary. Documentation and
5656
specification changes in this repository should treat the drafter as responsible
5757
for converting messy user input into one of three non-authoritative outcomes:
5858

59-
- `directive`: propose one canonical directive string
60-
- `no_directive`: classify the message as not requesting a directive
61-
- `unknown`: preserve uncertainty, malformed recovery failure, or unresolved
62-
directive-like intent without guessing
59+
- `CanonicalDirective`: propose one canonical directive
60+
- `RejectedDirective`: classify the message as not requesting a directive or
61+
reject an unsafe or malformed candidate
62+
- `UnknownDirective`: preserve uncertainty or unresolved directive-like intent
63+
without guessing
6364

6465
The authoritative acquisition contract lives in [docs/DrafterAcquisitionSpec.md](docs/DrafterAcquisitionSpec.md).
6566

‎docs/PythonFallbacks.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ drafter = DirectiveDrafter(fallback=fallback, fallback_source="openai")
3434
```
3535

3636
Use `create_async_openai_fallback(...)` with
37-
`DirectiveDrafter(async_fallback=...)` and
38-
`async_draft_directive(...)` for an asynchronous host path. OpenAI-compatible
37+
`DirectiveDrafter(async_fallback=..., async_fallback_source="openai")` and
38+
`async_draft_directive(...)` for an asynchronous host path. Set the source
39+
explicitly because the async source is configured separately. OpenAI-compatible
3940
endpoints can provide a custom `base_url`.
4041

4142
## LiteLLM

0 commit comments

Comments
 (0)