Skip to content

Commit 2a74388

Browse files
author
vbarda
committed
remove old chain
1 parent db17079 commit 2a74388

File tree

2 files changed

+1
-288
lines changed

2 files changed

+1
-288
lines changed

backend/chain.py

Lines changed: 0 additions & 278 deletions
This file was deleted.

backend/main.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"""Main entrypoint for the app."""
2+
# TODO (VB): delete this completely & test feedback + tracing in langgraph deploy
23
import asyncio
34
from typing import Optional, Union
45
from uuid import UUID
56

67
import langsmith
7-
from chain import ChatRequest, answer_chain
88
from fastapi import FastAPI
99
from fastapi.middleware.cors import CORSMiddleware
1010
from langserve import add_routes
@@ -24,15 +24,6 @@
2424
)
2525

2626

27-
add_routes(
28-
app,
29-
answer_chain,
30-
path="/chat",
31-
input_type=ChatRequest,
32-
config_keys=["metadata", "configurable", "tags"],
33-
)
34-
35-
3627
class SendFeedbackBody(BaseModel):
3728
run_id: UUID
3829
key: str = "user_score"

0 commit comments

Comments
 (0)