Documentation
¶
Overview ¶
Package adapterspecs builds the adapter.Spec for every wire shape relay serves. It is part of the composition root: with cmd/relay, the only server package that imports a vendor adapter, so app/ and pkg/ code and tests reach vendor translators through the specs it returns. Building the Registry and checking its wiring stay with the caller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChatCompletionsWireRules ¶ added in v0.31.0
ChatCompletionsWireRules returns the Chat Completions wire rules for upstreamModel on host h: the row for its catalog name, else the row for the host its base URL names, so an operator-created host pointing at a listed upstream reads it the same way.
func MessagesWireRules ¶ added in v0.31.0
MessagesWireRules is ChatCompletionsWireRules for the Anthropic Messages shape.
Types ¶
This section is empty.