internal/

directory
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: MIT

Directories

Path Synopsis
Package chatwire is the OpenRouter-dialect chat-completions wire format: the standard OpenAI shape plus the routed-gateway extensions (the reasoning request object, the reasoning_details echo, cost-bearing usage) that OpenRouter's API defines and gateways that speak its dialect share.
Package chatwire is the OpenRouter-dialect chat-completions wire format: the standard OpenAI shape plus the routed-gateway extensions (the reasoning request object, the reasoning_details echo, cost-bearing usage) that OpenRouter's API defines and gateways that speak its dialect share.
Package openaiwire holds the OpenAI-shaped chat-completions wire format shared by every native adapter whose provider speaks that dialect (kimi, openrouter): the request and response structs, message and tool conversion, stop-reason mapping, the SSE emitter and the authenticated HTTP client.
Package openaiwire holds the OpenAI-shaped chat-completions wire format shared by every native adapter whose provider speaks that dialect (kimi, openrouter): the request and response structs, message and tool conversion, stop-reason mapping, the SSE emitter and the authenticated HTTP client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL