[New Model] GLM4.7-Flash (#17247)

Co-authored-by: zRzRzRzRzRzRzR <2448370773@qq.com>
Co-authored-by: JustinTong0323 <justinning0323@gmail.com>
Co-authored-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Co-authored-by: Baizhou Zhang <sobereddiezhang@gmail.com>
This commit is contained in:
Qiaolin Yu
2026-01-20 07:44:16 -08:00
committed by GitHub
parent 612026ad2c
commit 76b06bee03
6 changed files with 842 additions and 12 deletions

View File

@@ -454,6 +454,7 @@ class OpenAIServingChat(OpenAIServingBase):
if request.chat_template_kwargs
else {}
),
return_dict=False,
)
except Exception as e:
# If the first attempt fails, try transforming the tools format
@@ -476,6 +477,7 @@ class OpenAIServingChat(OpenAIServingBase):
if request.chat_template_kwargs
else {}
),
return_dict=False,
)
except jinja2.TemplateError as template_error:
# Template errors (e.g., from raise_exception in Jinja templates)