Skip to content

Commit

Permalink
Enhance message prompts in optimizer to include example guidance for …
Browse files Browse the repository at this point in the history
…users
  • Loading branch information
ammirsm committed Sep 22, 2024
1 parent 3282aa6 commit 8ae40a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion py/src/zenbase/predefined/generic_lm_function/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def generic_function(request):
]

if request.zenbase.task_demos:
messages.append({"role": "system", "content": "Here are some examples:"})
messages.append({"role": "system", "content": "Here are some examples:"})
for demo in request.zenbase.task_demos:
messages.extend(
Expand Down

0 comments on commit 8ae40a8

Please sign in to comment.