File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def _load_prompt(config: dict) -> PromptTemplate:
99
99
def load_prompt (path : Union [str , Path ]) -> BasePromptTemplate :
100
100
"""Unified method for loading a prompt from LangChainHub or local fs."""
101
101
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/" )
103
103
return _load_from_hub (path )
104
104
else :
105
105
return _load_prompt_from_file (path )
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " langchain"
3
- version = " 0.0.69 "
3
+ version = " 0.0.70 "
4
4
description = " Building applications with LLMs through composability"
5
5
authors = []
6
6
license = " MIT"
You can’t perform that action at this time.
0 commit comments