Skip to content

Commit

Permalink
Merge pull request #15 from solliancenet/api-error-fix
Browse files Browse the repository at this point in the history
The HTTPException type is expected to be imported from FastAPI
  • Loading branch information
ciprianjichici authored Sep 7, 2023
2 parents b2fc459 + fb7cbf5 commit 06a1839
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/LangChainAPI/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from http.client import HTTPException
from fastapi import FastAPI, Depends
from fastapi import FastAPI, Depends, HTTPException
from fastapi.security import APIKeyHeader
import uvicorn

Expand Down

0 comments on commit 06a1839

Please sign in to comment.