Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.3.0"
".": "0.3.1"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 0.3.1 (2025-09-25)

Full Changelog: [v0.3.0...v0.3.1](https://github.com/openlayer-ai/openlayer-python/compare/v0.3.0...v0.3.1)

### Chores

* revert README changes ([a903980](https://github.com/openlayer-ai/openlayer-python/commit/a9039803754e0bad86b3d0aeb488f98038bc18bb))

## 0.3.0 (2025-09-24)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/openlayer-ai/openlayer-python/compare/v0.2.0...v0.3.0)
Expand Down
23 changes: 0 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,29 +319,6 @@ On timeout, an `APITimeoutError` is thrown.

Note that requests that time out are [retried twice by default](#retries).

#### Tracing Configuration

When using the tracing decorators (`@trace()` and `@trace_async()`), you can configure timeouts and retries for the underlying API calls to Openlayer using the `configure()` function:

```python
from openlayer.lib import trace, configure

# Configure timeout and retries for tracing API calls
configure(
api_key="your_api_key_here",
inference_pipeline_id="your_pipeline_id_here",
timeout=30.0, # 30 seconds timeout for tracing API calls (int or float)
max_retries=5 # Maximum number of retries for failed requests (default: 2)
)

# Now use the decorators normally
@trace()
def my_function():
return "result"
```

These settings apply to all API calls made by the tracer when streaming trace data to Openlayer. If not specified, the defaults are 60 seconds timeout and 2 retries.

## Advanced

### Logging
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openlayer"
version = "0.3.0"
version = "0.3.1"
description = "The official Python library for the openlayer API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/openlayer/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "openlayer"
__version__ = "0.3.0" # x-release-please-version
__version__ = "0.3.1" # x-release-please-version