Skip to contents

Anthropic request construction is a reduction over typed request sections. Model catalog facts select thinking, temperature, cache, and tool-input capabilities; request methods never infer behavior from model names.

Details

AnthropicMessagesEndpoint separates the Messages dialect from endpoint authentication and transport. Anthropic and GitHub Copilot therefore share message translation and event reduction while retaining their own endpoint headers, URLs, and credentials.

Stream JSON is decoded once into typed wire events. S7 methods translate blocks, deltas, and stop reasons into the provider-neutral AssistantEvent protocol.