Normandy.Behaviours.ModelCatalog.ModelsAPI (normandy v2.2.0)

View Source

Default ModelCatalog: GET /v1/models/{model} through Claudio.Models.get/2; the context window is the response's max_input_tokens.

Needs opts[:client], a Claudio client (Req.Request). It does no caching: BaseAgent memoises the window on the agent config.