Skip to content

[Question]why add a assistant message after read from inbox #139

@kam1kaze1998

Description

@kam1kaze1998

In s9s10 agent_loop why add a assistant message that says "Noted inbox messages" after read from inbox, what happens if that message is not added

if inbox:
      messages.append({
          "role": "user",
          "content": f"<inbox>{json.dumps(inbox, indent=2)}</inbox>",
      })
      messages.append({
          "role": "assistant",
          "content": "Noted inbox messages.",
      })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions