mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
style(proxy): format anthropic compression lambda
This commit is contained in:
parent
18e5680be3
commit
e164f4f1d9
1 changed files with 1 additions and 4 deletions
|
|
@ -3434,10 +3434,7 @@ class AnthropicHandlerMixin:
|
|||
# blocks every other request for the duration; a timeout
|
||||
# here is caught below and passes the item through.
|
||||
result = await self._run_compression_in_executor(
|
||||
lambda messages=messages,
|
||||
model=model,
|
||||
context_limit=context_limit,
|
||||
frozen_message_count=frozen_message_count: (
|
||||
lambda messages=messages, model=model, context_limit=context_limit, frozen_message_count=frozen_message_count: (
|
||||
self.anthropic_pipeline.apply(
|
||||
messages=messages,
|
||||
model=model,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue