[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user