Skip to content

Commit 42d5ecf

Browse files
committed
undo test
1 parent bc7fee9 commit 42d5ecf

File tree

1 file changed

+2
-0
lines changed
  • eval_protocol/proxy/proxy_core

1 file changed

+2
-0
lines changed

eval_protocol/proxy/proxy_core/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ async def chat_completion_with_full_metadata(
208208
encoded_base_url: Optional[str] = None,
209209
config: ProxyConfig = Depends(get_config),
210210
redis_client: redis.Redis = Depends(get_redis),
211+
_: None = Depends(require_auth),
211212
):
212213
params = ChatParams(
213214
project_id=project_id,
@@ -232,6 +233,7 @@ async def chat_completion_with_project_only(
232233
request: Request,
233234
config: ProxyConfig = Depends(get_config),
234235
redis_client: redis.Redis = Depends(get_redis),
236+
_: None = Depends(require_auth),
235237
):
236238
params = ChatParams(project_id=project_id)
237239
return await handle_chat_completion(

0 commit comments

Comments
 (0)