Tags: replicate/replicate-python-beta
Tags
release: 2.0.0-beta.4 (#94) * chore(internal): codegen related update * codegen metadata * codegen metadata * feat(api): manual updates * chore: pin mypy to 1.17 due to regression * fix: ensure streams are always closed * fix: uv v0.8.11 only has python 3.14rc, which causes issues with pydantic 2 * chore: formatting * release: 2.0.0-beta.4 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Samuel El-Borai <sam@elborai.me>
release: 2.0.0-beta.3 (#93) * fix(client): close streams without requiring full consumption * chore(internal/tests): avoid race condition with implicit client cleanup * chore(internal): grammar fix (it's -> its) * chore(package): drop Python 3.8 support * fix: compat with Python 3.14 * fix(compat): update signatures of `model_dump` and `model_dump_json` for Pydantic v1 * release: 2.0.0-beta.3 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
release: 2.0.0-alpha.29 (#84) * chore: sync repo * chore: change production repo to replicate/replicate-python-beta We renamed it from replicate/replicate-python-stainless in anticipation of the beta release. * fix(repo): update repo naming (#83) * codegen metadata * release: 2.0.0-alpha.29 * fix: remove unused replicate_max_lifetime parameter Remove the unused `replicate_max_lifetime` parameter from predictions.create methods in both sync and async implementations. This parameter was replaced by `cancel_after` but was not fully removed, causing ARG002 linting errors. --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Jon Harrell <4829245+jharrell@users.noreply.github.com> Co-authored-by: Zeke Sikelianos <zeke@sikelianos.com>
release: 2.0.0-alpha.28 (#77) * chore(types): change optional parameter type from NotGiven to Omit * codegen metadata * chore: do not install brew dependencies in ./scripts/bootstrap by default * chore: update OpenAPI spec and rebuild SDKs * chore: update OpenAPI spec and rebuild SDKs * codegen metadata * chore: update OpenAPI spec and rebuild SDKs * chore: update OpenAPI spec and rebuild SDKs * chore: update OpenAPI spec and rebuild SDKs * release: 2.0.0-alpha.28 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
release: 2.0.0-alpha.27 (#74) * feat: add api_token parameter support for legacy compatibility Adds support for the legacy api_token parameter in both Replicate and AsyncReplicate client initialization as an alternative to bearer_token. This enables backward compatibility with v1.x client code that uses: - Client(api_token="...") - AsyncClient(api_token="...") The implementation: - Accepts both api_token and bearer_token parameters - Raises clear error if both are provided - Maps api_token to bearer_token internally - Maintains existing environment variable behavior - Includes comprehensive test coverage * Revert "feat: add api_token parameter support for legacy compatibility" This reverts commit 8c05e64. * chore(types): change optional parameter type from NotGiven to Omit * chore(internal): update formatting * fix(predictions): use Omit instead of NotGiven * release: 2.0.0-alpha.27 --------- Co-authored-by: Zeke Sikelianos <zeke@sikelianos.com> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Robert Craigie <robert@craigie.dev>
release: 2.0.0-alpha.26 (#65) * feat(api): add new replicate.search() method (beta) ...and remove the old replicate.models.search() method from the MCP server, so tools will not have to decide between the two. * codegen metadata * chore(internal): update pydantic dependency * fix(tests): fix tests for module-level client * release: 2.0.0-alpha.26 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
PreviousNext