mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix(agent): compact oversized final model requests (#6299)
This commit is contained in:
@@ -438,6 +438,7 @@ class AgentBackgroundOutputTest(unittest.IsolatedAsyncioTestCase):
|
||||
"memory",
|
||||
"summary",
|
||||
"patch",
|
||||
"FinalRequestCompactionMiddleware",
|
||||
"usage",
|
||||
],
|
||||
[getattr(item, "name", item) for item in created["middleware"]],
|
||||
@@ -554,6 +555,7 @@ class AgentBackgroundOutputTest(unittest.IsolatedAsyncioTestCase):
|
||||
"memory",
|
||||
"summary",
|
||||
"patch",
|
||||
"FinalRequestCompactionMiddleware",
|
||||
"usage",
|
||||
],
|
||||
[getattr(item, "name", item) for item in created["middleware"]],
|
||||
@@ -759,6 +761,7 @@ class AgentBackgroundOutputTest(unittest.IsolatedAsyncioTestCase):
|
||||
"activity",
|
||||
"summary",
|
||||
"patch",
|
||||
"FinalRequestCompactionMiddleware",
|
||||
"usage",
|
||||
],
|
||||
[getattr(item, "name", item) for item in created["middleware"]],
|
||||
|
||||
Reference in New Issue
Block a user