Skip to content

Commit b2fe1a3

Browse files
committed
fix bug in llms
1 parent a590aeb commit b2fe1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lagent/llms/base_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __call__(self, dialog) -> str:
5353
if item:
5454
prompt += last_sep + item
5555
elif item.get('content', ''):
56-
prompt += last_sep + item.get('prompt', '')
56+
prompt += last_sep + item.get('content', '')
5757
last_sep = '\n'
5858
return prompt
5959

0 commit comments

Comments
 (0)