Handbook
Transport helpers
Catalog-facing surfaces (see src/forge_lcdl/transport.py) wrap OpenAI-compatible chat/completions calls with shared retry/logging hooks:
Updated
| Helper | Purpose |
|---|---|
transport_chat_completions |
Minimal synchronous completion call |
transport_chat_with_policies |
Adds routing / policy knobs used by runners |
transport_batch_sequential |
Ordered batch helper for deterministic scripts |
estimate_token_budget |
Lightweight budgeting helper for prompts before send |
These helpers do not ship credentials—callers inject URLs, keys, and profiles via LlmEnvProfile or application-specific configuration.