Skip to content

Commit 255eb2b

Browse files
committed
chore: update createSnapshot
Signed-off-by: Tomáš Dvořák <toomas2d@gmail.com>
1 parent 93fc139 commit 255eb2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎typescript/src/backend/chat.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ Validation Errors: {{errors}}`,
367367
return {
368368
cache: this.cache,
369369
emitter: this.emitter,
370+
middlewares: shallowCopy(this.middlewares),
370371
parameters: shallowCopy(this.parameters),
371372
logger: this.logger,
372373
toolChoiceSupport: this.toolChoiceSupport.slice(),

0 commit comments

Comments
 (0)