Skip to content

Commit

Permalink
Fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmessiaen committed May 23, 2024
1 parent 70231e0 commit 6011d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion giskard/llm/client/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def complete(
system_prompts = []
for msg in messages:
if msg.role.lower() == "system":
system_prompts = system_prompts.append(msg.content)
system_prompts.append(msg.content)
elif msg.role.lower() == "assistant":
input_msg_prompt.append({"role": "assistant", "content": [{"type": "text", "text": msg.content}]})
else:
Expand Down

0 comments on commit 6011d1f

Please sign in to comment.