fix(router.py): fix setting httpx mounts

This commit is contained in:
Krrish Dholakia 2024-06-26 17:22:04 -07:00
parent 7fe4b3d8f4
commit d67cdee850
4 changed files with 93 additions and 26 deletions

View file

@ -879,7 +879,7 @@ def completion(
if (
supports_system_message is not None
and isinstance(supports_system_message, bool)
and supports_system_message == False
and supports_system_message is False
):
messages = map_system_message_pt(messages=messages)
model_api_key = get_api_key(