Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
fix: path concat bug in slack demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
zac-li committed Jul 11, 2023
1 parent 28d099c commit 161a7de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lcserve/apps/slackbot/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from typing import Callable, List

import langchain
Expand All @@ -12,7 +13,7 @@
def update_cache(path):
from langchain.cache import SQLiteCache

langchain.llm_cache = SQLiteCache(database_path=path / "llm_cache.db")
langchain.llm_cache = SQLiteCache(database_path=os.path.join(path, "llm_cache.db"))


@slackbot
Expand Down

0 comments on commit 161a7de

Please sign in to comment.