Releases: vkryukov/responses
Releases · vkryukov/responses
0.1.3
[0.1.3] - 2025-09-23
Added
- Added OpenAI pricing metadata for the
gpt-5-codexmodel.
[0.1.2] - 2025-09-23
Fixed
- Prevent follow-up requests from re-sending provider-unsupported options preserved from the previous response (e.g. xAI reasoning effort), eliminating chained request failures.
Added
- Introduced option map helpers to drop nested paths and detect user-preserved values so provider filtering logic can be reused across the client.
[0.1.1] - 2025-09-22
Changed
- Automatically convert
role: :developermessages to:systemwhen routing requests to xAI models and emit a provider warning unless disabled; OpenAI requests continue to preserve developer prompts. - Documented the xAI behavior change and prompt guidance across README, usage rules, and the xAI support plan.
0.1.0
[0.1.0] - 2025-09-22
Added
- Introduced the
Responses.Providerregistry withResponses.Provider.OpenAIandResponses.Provider.XAIimplementations for credential lookup, model routing, and provider-specific warnings. - Added first-party support for xAI models including pricing data, telemetry metadata, and request/streaming tests that validate multi-provider flows.
- Exposed a
provider_warningsoption (and:provider_warning_modeconfig) to control whether unsupported option warnings are emitted per provider. - Documented multi-provider configuration patterns and added Livebook/tutorial coverage for running responses against xAI.
Changed
Responses.list_models/1now requires a provider atom andlist_models/2applies provider-scoped filtering while returning the raw upstream payload.- Cost calculation automatically scopes to the resolved provider and surfaces descriptive errors when pricing metadata is missing.
- Telemetry events include provider identifiers so downstream instrumentation can differentiate usage per provider.
Migration Guide
- Update your dependency entry to
{:responses, "~> 0.1.0"}. - Configure provider-specific credentials with
config :responses, :openai_api_keyand/or:xai_api_key(or the matching environment variables). - When requesting models, supply explicit provider hints (
model: "provider:model") or rely on the documented prefixes (gpt-*,o1*,o3*,o4-mini*map to OpenAI;grok-*maps to xAI). - Review telemetry consumers for the new provider metadata and adjust alerting or dashboards as needed.
[0.0.1] - 2024-09-21
Changed
- Renamed the library namespace from
OpenAI.ResponsestoResponses. - Updated the OTP application name to
:responsesand refreshed package metadata. - Adjusted configuration keys and documentation snippets to use the new namespace.
Migration Guide
- Update your dependency entry to
{:responses, "~> 0.0.1"}. - Replace module references from
OpenAI.ResponsestoResponses. - Update application configuration to use
config :responses, :openai_api_key, "your-key"(legacy keys continue to work with warnings). - Review
CHANGELOG_OLD.mdfor historical notes from earlier releases.