Tags

Tags give the ability to mark specific points in history as being important
  • v0.1.0

    protected
    Mannequin 0.1.0
    
    The first release: a stand-in for the language model behind an
    application, so its tests and demos run fast, offline and for free.
    
    mannequin record sits between an application and a real
    OpenAI-compatible backend, forwards every request, and saves each
    request and response exchange to disk. Streaming responses reach the
    application as they arrive rather than after they are buffered. The
    backend's key is taken from MANNEQUIN_API_KEY, or from --api-key where
    it will be visible in ps. A session is never overwritten: a name already
    taken gets _2, _3 and so on.
    
    mannequin replay serves a recorded session back with no key and no
    network. Requests are matched by method, path and query, and answered in
    the order they were recorded; the body is only compared to warn about a
    likely mismatch. A sample session under testdata/ can be replayed
    straight from a checkout.
    
    A session is a directory holding meta.json and one exchange-NNN
    directory per pair of request.json and response.json, plain files that
    can be read, reviewed and committed beside the tests that use them.
    
    The messages and --help are translated to Polish. It ships as the
    mannequin snap, and go install gitlab.com/zygoon/mannequin@latest works
    with Go 1.26.
    
    Known limits: one backend per session, and replay writes each streamed
    response in one piece.