From 7b9f3168b6dd14871724511cfc918fcfafb94eae Mon Sep 17 00:00:00 2001 From: infra Date: Mon, 20 May 2024 08:39:35 -0700 Subject: [PATCH] fix: bump 0.5.7 --- python/langsmith/cli/.env.example | 2 +- python/langsmith/cli/docker-compose.yaml | 14 +++++++------- python/langsmith/cli/main.py | 14 +++++++------- python/pyproject.toml | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/python/langsmith/cli/.env.example b/python/langsmith/cli/.env.example index 757ca17c9..eb9d9120f 100644 --- a/python/langsmith/cli/.env.example +++ b/python/langsmith/cli/.env.example @@ -1,5 +1,5 @@ # Don't change this file. Instead, copy it to .env and change the values there. The default values will work out of the box as long as you provide your license key. -_LANGSMITH_IMAGE_VERSION=0.5.1 +_LANGSMITH_IMAGE_VERSION=0.5.7 LANGSMITH_LICENSE_KEY=your-license-key # Change to your Langsmith license key OPENAI_API_KEY=your-openai-api-key # Needed for Online Evals and Magic Query features AUTH_TYPE=none # Set to oauth if you want to use OAuth2.0 diff --git a/python/langsmith/cli/docker-compose.yaml b/python/langsmith/cli/docker-compose.yaml index 1dff7840b..58922da51 100644 --- a/python/langsmith/cli/docker-compose.yaml +++ b/python/langsmith/cli/docker-compose.yaml @@ -1,11 +1,11 @@ version: "4" services: langchain-playground: - image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.5.1} + image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.5.7} ports: - 3001:3001 langchain-frontend: - image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.5.1} + image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.5.7} environment: - VITE_BACKEND_AUTH_TYPE=${AUTH_TYPE:-none} - VITE_OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID} @@ -16,7 +16,7 @@ services: - langchain-backend - langchain-playground langchain-backend: - image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.1} + image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.7} environment: - PORT=1984 - LANGCHAIN_ENV=local_docker @@ -49,7 +49,7 @@ services: condition: service_completed_successfully restart: always langchain-platform-backend: - image: langchain/langsmith-go-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.1} + image: langchain/langsmith-go-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.7} environment: - PORT=1986 - LANGCHAIN_ENV=local_docker @@ -75,7 +75,7 @@ services: condition: service_completed_successfully restart: always langchain-queue: - image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.1} + image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.7} environment: - LANGCHAIN_ENV=local_docker - LANGSMITH_LICENSE_KEY=${LANGSMITH_LICENSE_KEY} @@ -163,7 +163,7 @@ services: timeout: 2s retries: 30 clickhouse-setup: - image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.1} + image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.7} depends_on: langchain-clickhouse: condition: service_healthy @@ -182,7 +182,7 @@ services: "migrate -source file://clickhouse/migrations -database 'clickhouse://${CLICKHOUSE_HOST}:${CLICKHOUSE_NATIVE_PORT}?username=${CLICKHOUSE_USER}&password=${CLICKHOUSE_PASSWORD}&database=${CLICKHOUSE_DB}&x-multi-statement=true&x-migrations-table-engine=MergeTree' up", ] postgres-setup: - image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.1} + image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.7} depends_on: langchain-db: condition: service_healthy diff --git a/python/langsmith/cli/main.py b/python/langsmith/cli/main.py index 116437aa3..f6240ef06 100644 --- a/python/langsmith/cli/main.py +++ b/python/langsmith/cli/main.py @@ -101,12 +101,12 @@ def _start_local(self) -> None: def pull( self, *, - version: str = "0.5.1", + version: str = "0.5.7", ) -> None: """Pull the latest LangSmith images. Args: - version: The LangSmith version to use for LangSmith. Defaults to 0.5.1 + version: The LangSmith version to use for LangSmith. Defaults to 0.5.7 """ os.environ["_LANGSMITH_IMAGE_VERSION"] = version subprocess.run( @@ -123,7 +123,7 @@ def start( *, openai_api_key: Optional[str] = None, langsmith_license_key: str, - version: str = "0.5.1", + version: str = "0.5.7", ) -> None: """Run the LangSmith server locally. @@ -251,8 +251,8 @@ def main() -> None: ) server_start_parser.add_argument( "--version", - default="0.5.1", - help="The LangSmith version to use for LangSmith. Defaults to 0.5.1.", + default="0.5.7", + help="The LangSmith version to use for LangSmith. Defaults to 0.5.7.", ) server_start_parser.set_defaults( func=lambda args: server_command.start( @@ -279,8 +279,8 @@ def main() -> None: ) server_pull_parser.add_argument( "--version", - default="0.5.1", - help="The LangSmith version to use for LangSmith. Defaults to 0.5.1.", + default="0.5.7", + help="The LangSmith version to use for LangSmith. Defaults to 0.5.7.", ) server_pull_parser.set_defaults( func=lambda args: server_command.pull(version=args.version) diff --git a/python/pyproject.toml b/python/pyproject.toml index 90f4db811..976f30004 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langsmith" -version = "0.1.59" +version = "0.1.60" description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform." authors = ["LangChain "] license = "MIT"