Skip to content

Commit

Permalink
Update llm_agent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian-Winter committed Jun 6, 2024
1 parent d29df44 commit 01bd783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama_cpp_agent/llm_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def get_response_role_and_completion(
else:
at_end_list = ""

messages[0]["content"] += "\n" + at_end_list
messages[0]["content"] += at_end_list
prompt, response_role = self.messages_formatter.format_conversation(
messages, Roles.assistant
)
Expand Down

0 comments on commit 01bd783

Please sign in to comment.