mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 13:00:39 +00:00
refactor
This commit is contained in:
parent
2c06704d63
commit
fa4a56cf6c
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class ChatAgent(ShieldRunnerMixin):
|
|||
if self.agent_config.instructions != "":
|
||||
messages.append(SystemMessage(content=self.agent_config.instructions))
|
||||
|
||||
for i, turn in enumerate(turns):
|
||||
for turn in turns:
|
||||
messages.extend(self.turn_to_messages(turn))
|
||||
return messages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue