Skip to content

Commit

Permalink
tiny tweak to see if this helps
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneale committed Sep 25, 2024
1 parent 42933d3 commit 7a89d1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exchange/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from exchange.content import Text, ToolResult, ToolUse
from exchange.message import Message
from exchange.moderators import Moderator
from exchange.moderators.summarizer import ContextSummarizer
from exchange.moderators.truncate import ContextTruncate
from exchange.providers import Provider, Usage
from exchange.tool import Tool
from exchange.token_usage_collector import _token_usage_collector
Expand Down Expand Up @@ -40,7 +40,7 @@ class Exchange:
provider: Provider
model: str
system: str
moderator: Moderator = field(default=ContextSummarizer())
moderator: Moderator = field(default=ContextTruncate())
tools: Tuple[Tool] = field(factory=tuple, converter=tuple)
messages: List[Message] = field(factory=list)
checkpoint_data: CheckpointData = field(factory=CheckpointData)
Expand Down

0 comments on commit 7a89d1e

Please sign in to comment.