Skip to content

Commit

Permalink
Hack to fix cache
Browse files Browse the repository at this point in the history
Signed-off-by: JonahSussman <[email protected]>
  • Loading branch information
JonahSussman committed Jan 10, 2025
1 parent f603b9d commit cd0b49c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kai/rpc_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ def initialize(
try:
app.config = params

if app.config.cache_dir is None:
app.config.cache_dir = PATH_LLM_CACHE

try:
model_provider = ModelProvider(
app.config.model_provider, app.config.demo_mode, app.config.cache_dir
Expand Down

0 comments on commit cd0b49c

Please sign in to comment.