Skip to content

Commit

Permalink
add EOF
Browse files Browse the repository at this point in the history
initialise content in log_handler
  • Loading branch information
kartik-ganesh committed Aug 28, 2024
1 parent 379ad62 commit c438af5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/infinity_emb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ COPY environment_config.sh ./environment_config.sh
ENV SENTENCE_TRANSFORMERS_HOME=/app/.cache/torch
ENV PATH=/app/.venv/bin:$PATH

ENTRYPOINT ["/bin/bash" , "-c", "source ./environment_config.sh "]
ENTRYPOINT ["/bin/bash" , "-c", "source ./environment_config.sh "]
1 change: 1 addition & 0 deletions libs/infinity_emb/infinity_emb/log_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ async def dispatch(self, request: Request, call_next):
"lg": "http", "bdy": body.decode()})

passed = 1
content = []
try:
response = await call_next(request)
# GETTING THE ASYNC RESPONSE BODY NEEDS WORKAROUNDS
Expand Down

0 comments on commit c438af5

Please sign in to comment.