Skip to content

Commit

Permalink
chore: pad module stripping prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
av committed Oct 7, 2024
1 parent d94eb97 commit 36880c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boost/src/custom_modules/pad.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ async def apply(chat: 'ch.Chat', llm: 'llm.LLM'):
f"""
Before addresing my request, I need you to take your time and think for a while.
It's very important for you to utilise this time to concentrate on the task at hand.
"""
""".strip()
)

await chat.emit_status('Thinking...')
Expand All @@ -193,14 +193,14 @@ async def apply(chat: 'ch.Chat', llm: 'llm.LLM'):
f"""
Thank you for letting me think for a bit! I will use this time to concentrate on the task at hand.
{pad}
"""
""".strip()
)
await llm.emit_message(chat.tail.content)

chat.user(
f"""
Ok, I think we're ready now. Please answer my previous request.
"""
""".strip()
)

await chat.emit_status('Final')
Expand Down

0 comments on commit 36880c1

Please sign in to comment.