Contributing
Scalicon maintains OpenAI Erlang SDK. We welcome bug reports, feature requests, documentation improvements and pull requests. Maintainers review issues and proposed changes, work with contributors on corrections, and merge suitable contributions. Review and merge decisions consider correctness, compatibility, maintainability and project scope.
Reporting bugs and requesting features
Search existing issues first. Use the bug report or feature request form when opening a new issue.
For a bug, provide the SDK version or commit, Erlang/OTP version, operating system, a minimal reproducer, and the expected and actual results. Include the HTTP status and request ID when available. Remove API keys, authorization headers, webhook secrets and private data from code, logs and captures.
Distinguish an SDK problem from an API rejection or account-access restriction when possible. OpenAI service availability, permissions and billing are managed by OpenAI; this repository maintains the Erlang client.
Preparing a pull request
For a substantial API or architecture change, open an issue to discuss the approach before implementation. Small fixes and documentation corrections can be proposed directly.
- Fork the repository and create a branch for your change.
- Keep the change focused and explain the problem and resulting behavior.
- Add meaningful regression coverage for behavior changes. Prefer deterministic local fixtures; ordinary development checks do not require an OpenAI API key.
- Keep API documentation, helpers, compatibility contracts, API mapping and affected examples consistent with the change.
- Describe compatibility impact, verification results and checks not performed in the pull request. A draft pull request is welcome for work in progress.
Use descriptive names and follow the surrounding Erlang style. Preserve resource ownership, cleanup, request precedence and public return contracts unless a contract change has been agreed. Explain intentional differences from the behavioral reference documented in README.
Development checks
Use Erlang/OTP 27 or later and rebar3. Run commands from the repository root. CI checks OTP 27, 28 and 29.
Format changed Erlang files with rebar3 fmt. The current CI checks are:
rebar3 fmt --check
rebar3 as test do check, ct
escript tools/test_inventory.escript
escript tools/test_http_comparison.escript
The check alias runs xref and Dialyzer. Run checks relevant to your change and
report their actual results. A documentation-only change can be verified with
Markdown, links and static example checks; explain when code checks were not run.
Live API requests are separate from local tests. They can incur charges or
create remote resources. Do not put real credentials or private captures in a
pull request. Keep local reference checkouts and audit artifacts under the
ignored _checkout/ directory.
Review and maintenance
The Scalicon Erlang SDK maintainers review contributions. They may request changes or discuss an alternative approach before merging. Not every feature request or pull request will fit the project scope.
By contributing, you agree that your contribution is provided under the repository's Apache-2.0 license.