(fix) passthrough - allow internal users to access /anthropic (#6843)

* fix /anthropic/

* test llm_passthrough_router

* fix test_gemini_pass_through_endpoint
This commit is contained in:
Ishaan Jaff 2024-11-21 11:46:50 -08:00 committed by GitHub
parent 50d2510b60
commit a7d5536872
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 22 additions and 8 deletions

View file

@ -192,6 +192,10 @@ class RouteChecks:
return True
if "/langfuse/" in route:
return True
if "/anthropic/" in route:
return True
if "/azure/" in route:
return True
return False
@staticmethod