Skip to content

v1.14.0

Choose a tag to compare

@sebsto sebsto released this 06 Jun 10:37
7888da7

What's New

OpenAI Responses API and bedrock-mantle endpoint

The library now supports the OpenAI Responses API via the bedrock-mantle endpoint. This is a new API surface built with AsyncHTTPClient, supporting both API key and SigV4 authentication.

let reply = try await bedrock.createResponse(
    "Explain Amazon Bedrock",
    with: .openai_gpt_5_5,
    authentication: .apiKey(key: myKey)
)
print(reply.text)

All existing BedrockAuthentication methods work: .default, .profile, .sso, .login, .webIdentity, .static, and .apiKey.

New models

  • OpenAI GPT 5.5 (openai.gpt-5.5) — Responses API only, 272K context
  • OpenAI GPT 5.4 (openai.gpt-5.4) — Responses API only, 272K context
  • Claude Opus 4.8 (anthropic.claude-opus-4-8) — 128K output, 1M context, global cross-region inference

Existing models with new capabilities

  • openai_gpt_oss_20b and openai_gpt_oss_120b now support the Responses API in addition to Invoke and Converse

Bug fixes

  • Fixed build error with newer AWS SDK versions that added a .system case to ConversationRole

New example

  • Examples/responses/ — demonstrates calling GPT 5.5 with both API key and SigV4 authentication

What's Changed

  • Add Claude Opus 4.8 support by @sebsto in #86
  • Add OpenAI Responses API support (GPT 5.5, 5.4, gpt-oss) by @sebsto in #87

Full Changelog: 1.13.0...v1.14.0