You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2ea54e6
Browse filesBrowse the repository at this point in the historyBrowse files
Private adapters normalize provider data before the core LLM pipeline consumes
80
+
it. Stream events use typed contracts; message conversion accepts typed provider
81
+
objects, generic LiteLLM objects, and dictionaries. It preserves tool-call IDs,
82
+
Responses item IDs, and reasoning metadata used to replay conversation history.
83
+
84
+
When `custom_tokenizer` is configured, the SDK attempts to load a chat-template
85
+
tokenizer through the optional Transformers package. Token counts include the
86
+
chat template and tool schemas when supported. Missing Transformers, tokenizer
87
+
loading failures, or unsupported template results fall back to LiteLLM token
88
+
counting. Transformers is not required to import or use the SDK.
89
+
90
+
See [LLM Streaming](/sdk/guides/llm-streaming) for callback and completion behavior.
91
+
77
92
## Configuration
78
93
79
94
See [`LLM` source](https://github.com/OpenHands/software-agent-sdk/blob/main/openhands-sdk/openhands/sdk/llm/llm.py) for complete list of supported fields.
0 commit comments