From 087ede6484ca0af6ef8bdd347e24102a710c1646 Mon Sep 17 00:00:00 2001 From: martsforever Date: Sat, 30 Aug 2025 13:52:55 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Aadd=20url=20huoshan-doubao-seed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/server.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/server.py b/app/server.py index 755b472..46ce517 100644 --- a/app/server.py +++ b/app/server.py @@ -87,6 +87,13 @@ add_routes( path="/doubao" ) +add_routes( + app=app, + runnable=RunnableLambda(lambda x: x['messages']) | create_llm("huoshan-doubao-seed") | StrOutputParser(), + input_type=ModelInputSchema, + path="/huoshan-doubao-seed" +) + add_async_route( app=app, runnable=RunnableLambda(lambda x: x['messages']) | create_llm("bailian-qwen-turbo").with_types(input_type=ModelInputSchema),