We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20d02c8 commit 13b534aCopy full SHA for 13b534a
1 file changed
llms/main.py
@@ -4564,7 +4564,7 @@ async def start_background_tasks(app):
4564
return ExitCode.FAILED
4565
chat = g_config["defaults"][template]
4566
if cli_args.chat is not None:
4567
- chat_path = os.path.join(os.path.dirname(__file__), cli_args.chat)
+ chat_path = os.path.abspath(cli_args.chat)
4568
if not os.path.exists(chat_path):
4569
print(f"Chat request template not found: {chat_path}")
4570
0 commit comments