From a5c459599ad68f6633e91960420bb11d25bb16f8 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 8 May 2026 11:02:00 +0800 Subject: [PATCH] bugfix --- wwwroot/v1/chat/completions/index.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/v1/chat/completions/index.dspy b/wwwroot/v1/chat/completions/index.dspy index 25d1818..e806caa 100644 --- a/wwwroot/v1/chat/completions/index.dspy +++ b/wwwroot/v1/chat/completions/index.dspy @@ -48,5 +48,5 @@ if not f: debug(f'{userid=} balance not enough') return openai_429() # debug(f'{tools=}, {request._run_ns.tools=}') -return await env.stream_response(request, gen, context_type='application/json') +return await env.stream_response(request, gen, content_type='application/json')