mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
style(router): format encrypted task selection
This commit is contained in:
parent
cadb7ee44d
commit
55fc0deabc
1 changed files with 3 additions and 1 deletions
|
|
@ -2218,7 +2218,9 @@ class ComplexityRouter(CustomLogger):
|
|||
opening_task: Final = (
|
||||
"The delegated task in the following agent_message."
|
||||
if encrypted_task is not None
|
||||
else asks_newest_first[-1] if asks_newest_first else prompt
|
||||
else asks_newest_first[-1]
|
||||
if asks_newest_first
|
||||
else prompt
|
||||
)
|
||||
latest_follow_up: Final = asks_newest_first[0] if len(asks_newest_first) > 1 else None
|
||||
task_messages: list[AllMessageValues] = [ # mutable-ok: the latest message gains optional image parts below
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue