auto_compact llm request error fixed

This commit is contained in:
bear 2026-03-23 16:54:01 +08:00
parent a9c71002d2
commit 1ffdf3d739
5 changed files with 2 additions and 5 deletions

View file

@ -81,7 +81,6 @@ def auto_compact(messages: list) -> list:
)
return [
{"role": "user", "content": f"[Compressed]\n\n{response.content[0].text}"},
{"role": "assistant", "content": "Understood. Continuing."},
]
```