Skip to content

Commit 6011003

Browse files
author
yuehuazhang
committed
feature:api
1 parent d94af76 commit 6011003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chatchat-server/chatchat/server/agent/graphs_factory/test_fastapi_streamlit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class State(TypedDict):
2828
messages: Annotated[list, add_messages]
2929

3030
llm = create_agent_models(configs=None,
31-
model="Qwen2.5-72B-Instruct",
31+
model="qwen2.5-instruct",
3232
max_tokens=None,
3333
temperature=0,
3434
stream=True)
@@ -57,7 +57,7 @@ def chatbot(state: State):
5757
return graph
5858

5959

60-
@app.get("/stream")
60+
@app.post("/stream")
6161
async def openai_stream_output(request: Request):
6262
async def generator():
6363
graph = get_chatbot()

0 commit comments

Comments
 (0)