File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,15 @@ class EvaluationSettings(BaseSettings, prefix="EVALUATION_"):
5959class AuthConfig (BaseSettings ):
6060 algorithms_str : str = Field (alias = "AUTH_ALGORITHMS" , default = "RS256" )
6161 keycloak_base_url : str = Field (default = "http://localhost:8080" )
62+ keycloak_realm : str = Field (default = "llm-eval" )
6263
6364 @property
6465 def algorithms (self ) -> list [str ]:
6566 return self .algorithms_str .split ("," )
6667
6768 @property
6869 def jwks_uri (self ) -> str :
69- return f"{ self .keycloak_base_url } /realms/llm-eval /protocol/openid-connect/certs"
70+ return f"{ self .keycloak_base_url } /realms/{ self . keycloak_realm } /protocol/openid-connect/certs" # noqa: E501
7071
7172
7273class DeepEvalSettings (BaseSettings , prefix = "DEEPEVAL_" ):
You can’t perform that action at this time.
0 commit comments