All notable changes to this project are documented here. The format follows Keep a Changelog, and the project uses SemVer.
0.2.1 - 2026-10-10
Fixed
- The errors guide names the paging streams instead of all
streamfunctions.
0.2.0 - 2026-10-10
Added
Jibu.Tools.run/3runs the tools of one turn concurrently withmax_concurrency:.Jibu.Tools.run/3limits the run time of each tool withtool_timeout:.Jibu.stream/3streams a Messages response to a function and returns the assembled message.Jibu.Tools.run/3streams every turn to a function withon_event:.Jibu.ask/3streams the answer to a function withon_text:.Jibu.Errorcarries the conversation so far inmessageswhenJibu.Tools.run/3fails.
0.1.1 - 2026-10-10
Changed
- The README shows full requests with
Jibu.messages/2and lists every module with its guide. - The package links to the changelog on jibu.hexdocs.pm.
0.1.0 - 2026-10-10
Added
Jibu.new/1builds aReq.Requestwith API key, version header, beta header and Req options.Jibu.messages/2sends a Messages API request body unchanged.Jibu.Responsewithtext/1andjson/1;json/1returns an error for refusals andmax_tokens.Jibu.Errorcarries status, API error type, message, request id andretry-after.- Retries for 408, 409, 429, 5xx and 529, honouring
retry-afterandx-should-retry. - Telemetry span
[:jibu, :request]with method, path, model, status and usage. Jibu.count_tokens/2counts the input tokens of a request body.Jibu.Modelslists and retrieves models, withstream/2across pages.Jibu.Contentbuilds image and document blocks from files, binaries or uploaded file ids.Jibu.Filesuploads, lists, retrieves, downloads and deletes files.Jibu.Batchescreates, retrieves, lists, cancels and deletes batches and decodes their results.Jibu.Tools.run/3runs a tool-use conversation with local:runfunctions until the model stops.- Guides for getting started, structured output, prompt caching, files, batches, tools, and errors with telemetry.
- Client defaults for
:model,:max_tokensand further body fields. Jibu.ask/3andJibu.extract/4with the shortcutssystem:,cache:,effort:andmessages:.ask/3,extract/4andResponse.json/1return an error for turns that wait for tools.Jibu.Tools.run/3accepts a prompt with the same shortcuts.