Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasecchig committed Sep 18, 2024
1 parent cb7300d commit 2c11e60
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
from httpx import AsyncClient
from langchain_core.messages import HumanMessage

from app.server import app
from app.utils.input_types import InputChat

# Set up logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -67,6 +64,9 @@ def sample_input_chat() -> InputChat:
messages=[HumanMessage(content="What is the meaning of life?")],
)

from app.server import app
from app.utils.input_types import InputChat

def test_redirect_root_to_docs() -> None:
"""
Test that the root endpoint (/) redirects to the Swagger UI documentation.
Expand Down

0 comments on commit 2c11e60

Please sign in to comment.