Skip to content

Commit

Permalink
fix: litellm model filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbck committed May 18, 2024
1 parent 3aa6b0f commit 7facfa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/apps/litellm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ async def lifespan(app: FastAPI):
litellm_config = yaml.safe_load(file)


app.state.ENABLE_MODEL_FILTER = ENABLE_MODEL_FILTER
app.state.MODEL_FILTER_LIST = MODEL_FILTER_LIST
app.state.ENABLE_MODEL_FILTER = ENABLE_MODEL_FILTER.value
app.state.MODEL_FILTER_LIST = MODEL_FILTER_LIST.value


app.state.ENABLE = ENABLE_LITELLM
Expand Down

0 comments on commit 7facfa3

Please sign in to comment.