Skip to content

Commit

Permalink
fix: bump 0.5.7 (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra committed May 20, 2024
2 parents 8681d02 + 7b9f316 commit 1d8ee36
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion python/langsmith/cli/.env.example
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 7 additions & 7 deletions python/langsmith/cli/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
14 changes: 7 additions & 7 deletions python/langsmith/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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.
Expand Down Expand Up @@ -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(
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 1d8ee36

Please sign in to comment.