Files
Enterprise-Knowledge-Base/internal
JAESOL SHIN ddf5ae4e65 fix(chat): exclude ChatTemplateKwargs for OpenAI API
ChatTemplateKwargs parameter is only supported by custom backends
like vLLM. OpenAI API does not support this parameter and returns
400 Bad Request error.

This change conditionally includes ChatTemplateKwargs only when
the provider is ProviderGeneric (custom deployment).

Fixes connection test failure for OpenAI models with error:
"Unrecognized request argument supplied: chat_template_kwargs"
2025-12-29 19:08:15 +08:00
..
2025-12-29 17:01:23 +08:00
2025-12-29 17:01:23 +08:00
2025-08-05 15:08:07 +08:00
2025-08-05 15:08:07 +08:00