Skip to content

Releases: sonic182/llm-async-codex

0.2.0

Choose a tag to compare

@sonic182 sonic182 released this 26 Sep 14:03
19c1011

Added

  • CodexProvider.list_model_slugs() and get_model_capabilities() fetch and cache the authenticated Codex model catalog.
  • CodexModelCapabilities exposes context-window and automatic compaction limits.

Fixed

  • Preserve response ID, status, usage, and output items from terminal streaming events.
  • Omit max_output_tokens, which the Codex backend rejects.
  • Restrict GitHub Actions workflow permissions to read-only repository contents.

Full Changelog: 0.1.1...0.2.0

0.1.1

Choose a tag to compare

@sonic182 sonic182 released this 12 Sep 22:59
3cc75dc

Added

  • MIT license (`LICENSE.md`).
  • Packaging metadata: `readme`, `license`, `keywords`, `classifiers`, and `[project.urls]` (Homepage, Repository, Documentation, Bug Tracker, Changelog).
  • `.github/workflows/ci.yml`: lint, test, and build across Python 3.10-3.14 on push/PR.
  • `Makefile` with `test`, `lint`, `format`, `build`, `upload_pypi`/`publish`/`release` targets.
  • Expanded `.gitignore` to cover standard Python packaging/tooling artifacts.

Full Changelog: 0.1.0...0.1.1

0.1.0

Choose a tag to compare

@sonic182 sonic182 released this 12 Sep 22:59
91ada14

Added

  • CodexProvider: send llm-async Responses API requests through a ChatGPT Codex subscription.
  • load_credentials/default_auth_path: read an existing Codex CLI login from $CODEX_HOME/auth.json or ~/.codex/auth.json, or from any explicit path.
  • Login support, so this package doesn't depend on a separate Codex CLI install:
    • Browser-based OAuth (PKCE, localhost callback) via login_with_browser.
    • Device-code flow (headless/SSH, no local browser needed) via login_with_device_code.
    • llm-async-codex login [--device-code] [--auth-file PATH] [--verbose] CLI command.
  • Automatic token refresh: CodexCredentials tracks expiry, and CodexProvider transparently refreshes and persists a new access token before the current one expires.
  • Tool calling support through the normal streaming API (response.main_response.tool_calls); requires llm-async>=0.5.2.
  • Optional HTTP/2 support (CodexProvider(..., http2=True)).
  • scripts/test_tool_calling.py: a smoke-test script exercising a full tool-calling round trip against a real login.