Skip to content

Commit

Permalink
fix content prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Jun 4, 2024
1 parent 322ee73 commit e892be4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,12 @@ def conversation(say: Say, thread_ts, prompt, channel, user, client_msg_id):
messages.append(
{
"role": "user",
"content": "\n\n\n".join(prompts),
"content": [
{
"type": "text",
"text": "\n\n\n".join(prompts),
}
],
},
)

Expand Down

0 comments on commit e892be4

Please sign in to comment.