Skip to content

Commit 5b89762

Browse files
committed
Cleanup
1 parent 605ed38 commit 5b89762

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pkg-py/src/querychat/_querychat.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,9 @@ def __init__(
137137
)
138138

139139
client = normalize_client(client)
140-
client2 = copy.deepcopy(client)
141-
client2.set_turns([])
142-
client2.system_prompt = prompt
143-
self.client = client2
140+
self.client = copy.deepcopy(client)
141+
self.client.set_turns([])
142+
self.client.system_prompt = prompt
144143

145144
# Populated when ._server() gets called (in an active session)
146145
self._server_values: ModServerResult | None = None

0 commit comments

Comments
 (0)