mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
fix(router): Update prompt prefix keys to include 'system' for improved request handling
This commit is contained in:
parent
06e29f15c8
commit
3dc2ada2b3
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class PromptPrefixAffinityCheck(CustomLogger):
|
|||
) -> Optional[str]:
|
||||
prompt_parts: List[Tuple[str, Any]] = []
|
||||
|
||||
for key in ("instructions", "tools"):
|
||||
for key in ("system", "instructions", "tools"):
|
||||
value = request_kwargs.get(key)
|
||||
if value is not None:
|
||||
prompt_parts.append((key, cls._json_safe(value)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue