Structs§
- Content
Block Delta Event - Content
Block Start Event - Content
Block Stop Event - Input
Message - Message
Delta - Message
Delta Event - Message
Request - Message
Response - Message
Start Event - Message
Stop Event - OAuth
Config - OAuth
Token Exchange Request - OAuth
Token Set - Runtime
Token Set - SseParser
- Ternlang
Client - Tool
Definition - Usage
Enums§
- ApiError
- Auth
Source - Content
Block Delta - Input
Content Block - LlmProvider
- Output
Content Block - Stream
Event - Tool
Choice - Tool
Result Content Block
Constants§
Functions§
- detect_
provider_ and_ model_ from_ env - Scan well-known env vars and return the first available (provider, default-model) pair. Returns None if no recognised key is set (Ollama local is not detected here).
- parse_
frame - read_
base_ url - resolve_
auth_ for_ provider - Read the standard env var for
providerand return the appropriate auth. - resolve_
startup_ auth_ source