Skip to content

Commit

Permalink
[chore] removed prints
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiolemos committed Sep 9, 2024
1 parent 6d667a8 commit 4ce56fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion llmstudio/engine/providers/ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ async def parse_response(
if "error" in chunk:
raise HTTPException(status_code=500, detail=chunk["error"])
if chunk.get("done"):
print("done")
yield ChatCompletionChunk(
id=str(uuid.uuid4()),
choices=[
Expand Down
1 change: 0 additions & 1 deletion llmstudio/engine/providers/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ async def chat(
else:
raise e # Raise other HTTP exceptions
except Exception as e:
print(e)
raise HTTPException(
status_code=500, detail=str(e)
) # Raise other exceptions as HTTP 500
Expand Down

0 comments on commit 4ce56fb

Please sign in to comment.