Skip to content

Commit

Permalink
fix: Rename get load balancer function
Browse files Browse the repository at this point in the history
  • Loading branch information
asedmammad committed Apr 7, 2024
1 parent f816fc0 commit 4c92b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/ollama/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def update_ollama_api_url(form_data: UrlUpdateForm, user=Depends(get_admin


@app.get("/lb")
async def get_ollama_api_urls(user=Depends(get_admin_user)):
async def get_ollama_load_balancer(user=Depends(get_admin_user)):
return {
"OLLAMA_LB_POLICY": app.state.OLLAMA_LB_POLICY,
"OLLAMA_LB_WEIGHTS": app.state.OLLAMA_LB_WEIGHTS,
Expand Down

0 comments on commit 4c92b69

Please sign in to comment.