mirror of
https://github.com/shareAI-lab/learn-claude-code.git
synced 2026-04-28 14:29:33 +00:00
auto_compact llm request error fixed
This commit is contained in:
parent
a9c71002d2
commit
1ffdf3d739
5 changed files with 2 additions and 5 deletions
|
|
@ -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."},
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue