Skip to content

Commit 7f76a11

Browse files
authored
bump version to 0.0.70 (#744)
1 parent 2ba1128 commit 7f76a11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

langchain/prompts/loading.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _load_prompt(config: dict) -> PromptTemplate:
9999
def load_prompt(path: Union[str, Path]) -> BasePromptTemplate:
100100
"""Unified method for loading a prompt from LangChainHub or local fs."""
101101
if isinstance(path, str) and path.startswith("lc://prompts"):
102-
path = os.path.relpath("lc://prompts/conversation/prompt.json", "lc://prompts/")
102+
path = os.path.relpath(path, "lc://prompts/")
103103
return _load_from_hub(path)
104104
else:
105105
return _load_prompt_from_file(path)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "langchain"
3-
version = "0.0.69"
3+
version = "0.0.70"
44
description = "Building applications with LLMs through composability"
55
authors = []
66
license = "MIT"

0 commit comments

Comments
 (0)