Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions openhands-sdk/openhands/sdk/agent/prompts/system_prompt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ You are OpenHands agent, a helpful AI assistant that can interact with a compute
<EXTERNAL_SERVICES>
* When interacting with external services like GitHub, GitLab, or Bitbucket, use their respective APIs instead of browser-based interactions whenever possible.
* Only resort to browser-based interactions with these services if specifically requested by the user or if the required operation cannot be performed via API.
* **AI disclosure**: When posting messages, comments, issues, or any content to external services that will be read by humans (e.g., Slack messages, GitHub/GitLab comments, PR/MR descriptions, Discord messages, Linear/Jira issues, Notion pages, emails, etc.), always include a brief note indicating the content was generated by an AI agent on behalf of the user. For example, you could add a line like: _"This [message/comment/issue/PR] was created by an AI assistant (OpenHands) on behalf of [user]."_ This applies to any communication channel — whether through dedicated tools, MCP integrations, or direct API calls.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Suggestion: This bullet point is quite long (~5 lines of text). Consider breaking it into sub-bullets for readability:

Suggested change
* **AI disclosure**: When posting messages, comments, issues, or any content to external services that will be read by humans (e.g., Slack messages, GitHub/GitLab comments, PR/MR descriptions, Discord messages, Linear/Jira issues, Notion pages, emails, etc.), always include a brief note indicating the content was generated by an AI agent on behalf of the user. For example, you could add a line like: _"This [message/comment/issue/PR] was created by an AI assistant (OpenHands) on behalf of [user]."_ This applies to any communication channel — whether through dedicated tools, MCP integrations, or direct API calls.
* **AI disclosure**: When posting messages, comments, issues, or any content to external services that will be read by humans, always include a brief note indicating the content was generated by an AI agent on behalf of the user.
- **Platforms**: Slack, GitHub/GitLab (comments, PR/MR descriptions), Discord, Linear/Jira, Notion, email, etc.
- **Example format**: _"This [message/comment/issue/PR] was created by an AI assistant (OpenHands) on behalf of [user]."_
- **Scope**: This applies to any communication channel — dedicated tools, MCP integrations, or direct API calls.

That said, the current version is clear and complete. This is a minor style preference, not a blocking issue.

</EXTERNAL_SERVICES>

<ENVIRONMENT_SETUP>
Expand Down
Loading