From 02a701c57012314688feb7ba67c1167fb75c6b1f Mon Sep 17 00:00:00 2001 From: Philip Potter Date: Tue, 27 May 2025 12:27:22 +0100 Subject: [PATCH] Release 1.0.7 --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e501528..fbc8526 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ We recommend not adding the token directly to your source code, because you don' Alternative authentication -As of [replicate 1.0.5](https://github.com/replicate/replicate-python/releases/tag/1.0.5) and [cog 0.14.11](https://github.com/replicate/cog/releases/tag/v0.14.11) it is possible to pass a `REPLICATE_API_TOKEN` via the `context` as part of a prediction request. +As of [replicate 1.0.7](https://github.com/replicate/replicate-python/releases/tag/1.0.7) and [cog 0.14.11](https://github.com/replicate/cog/releases/tag/v0.14.11) it is possible to pass a `REPLICATE_API_TOKEN` via the `context` as part of a prediction request. The `Replicate()` constructor will now use this context when available. This grants cog models the ability to use the Replicate client libraries, scoped to a user on a per request basis. diff --git a/pyproject.toml b/pyproject.toml index 4e2a0d9..11fee6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "replicate" -version = "1.0.6" +version = "1.0.7" description = "Python client for Replicate" readme = "README.md" license = { file = "LICENSE" }