mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-16 20:50:25 +00:00
bugfix: cast path to str in templates_edit (#1031)
This commit is contained in:
parent
ccc52265e9
commit
9dace69af7
1 changed files with 1 additions and 1 deletions
|
|
@ -2305,7 +2305,7 @@ def templates_edit(name):
|
|||
path = template_dir() / f"{name}.yaml"
|
||||
if not path.exists():
|
||||
path.write_text(DEFAULT_TEMPLATE, "utf-8")
|
||||
click.edit(filename=path)
|
||||
click.edit(filename=str(path))
|
||||
# Validate that template
|
||||
load_template(name)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue