Skip to content

Commit

Permalink
[HOT FIX]Fix potential bugs in summary function (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyzhang99 authored Jul 19, 2024
1 parent e9a3609 commit 4691a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agentscope/service/text_processing/summarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def summarization(
Msg(name="user", role="user", content=text),
]
msgs = model.format(msgs)
model_output = model(messages=msgs)
model_output = model(msgs)
summary = model_output.text
return ServiceResponse(
ServiceExecStatus.SUCCESS,
Expand Down

0 comments on commit 4691a3d

Please sign in to comment.