Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sidebar_label: Providers
## Choosing a provider

- Match the **capabilities required by your steps** to the provider’s `GetCapabilities()` output.
- Providers handle authentication/session acquisition via `Context.AcquireAuthSession(...)` (host-controlled).
- Steps acquire auth sessions via `Context.AcquireAuthSession(...)` and pass them to provider methods that accept an optional `AuthSession` parameter (host-controlled).
- In workflows, steps select a provider by **alias** (defaults to `Identity` if omitted).

Related:
Expand All @@ -36,5 +36,5 @@ Related:
- Minimal checklist:
- Implement provider contracts (only what you need)
- Advertise deterministic capabilities (`GetCapabilities()`)
- Acquire sessions via host context (no prompts inside providers)
- Accept optional `AuthSession` parameter in methods that require authentication (sessions acquired by steps via host context; no prompts inside providers)
- Add unit tests + contract tests (no live calls in CI)
Loading