From 9dace69af76b57b3c9bfed94bbd707f69db0ae9a Mon Sep 17 00:00:00 2001 From: Abizer Lokhandwala <1916822+abizer@users.noreply.github.com> Date: Fri, 23 May 2025 23:34:16 -0700 Subject: [PATCH] bugfix: cast path to str in templates_edit (#1031) --- llm/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/cli.py b/llm/cli.py index 56522a9..82f57e0 100644 --- a/llm/cli.py +++ b/llm/cli.py @@ -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)