Fix - Agents - "AI agents can make mistakes" is not displayed below input prompt - #97126
Conversation
|
@Eskalifer1 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@shawnborton pls review the snapshots. And also give attention to the 3rd spot which appears under the prompt in profile page when you switch your session to an agent. I think it is need there too but let me know your opinion. |
Reviewer Checklist
Screenshots/Videos |
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
Hi @FitseTLT! Overall, the changes look good. I just have two minor comments:
|
|
I noticed one difference compared to all (or most) other pages on the project while reviewing this PR. The issue is that the page with only one input field doesn’t have autofocus. Here’s how it works now: not-working.movHere’s how it will work with autofocus: working.movHere’s a page with similar functionality (it has autofocus): workspace-name.movIf you think that's really the case, then I can open a PR per Contributors+ Process Doc (C+) |
|
Let's wait for design team and then i will aprove ASAP |
|
Makes sense to use the autofocus behavior we have elsewhere. |
This is fine because we're just centering the text, not indenting it. |
|
Is this better @shawnborton ? |
|
Can we reduce the space above the small fine print and increase the space below it? Maybe reduce the top padding by 4px and increase bottom padding by 8px or something? |
|
Nice, send it 👍 |
|
U can proceed @Eskalifer1 |
|
Hi @carlosmiceli also take a look at this comment: #97126 (comment). Here is confirmation from design team: #97126 (comment) |
|
@Eskalifer1 I agree with Shawn and it should be implemented in a new PR 👍 |
|
🚧 carlosmiceli has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/carlosmiceli in version: 9.4.49-0 🚀
|
No help site changes requiredI reviewed the changes in this PR against the help site articles under Why: This PR is a UI-only change that appends the existing The underlying concept is already documented on the help site, and help articles don't describe per-input helper/disclaimer text:
Since no content, feature, or user-facing workflow changed, there's nothing to add or revise in the help site, so I did not open a draft docs PR. If you'd like the disclaimer explicitly called out somewhere in the agent docs anyway, let me know and I'll draft one. |



















Explanation of Change
This PR adds the existing
workspace.rules.agentRules.disclaimerstring to the three agent-prompt input surfaces that were missing it: the Add agent page (appended to the end of the existing copilot note, per design), the Edit agent prompt page (below the input, matching the Add-rule Edit-tab pattern), and the Profile AI-prompt section (below the input). No new copy or translations are added.Fixed Issues
$ #96991
PROPOSAL: #96991 (comment)
Tests
Offline tests
Same as tests (changes are not offline specific)
QA Steps
same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
2026-07-27.20-18-04.mp4
iOS: Native
iOS: mWeb Safari
2026-07-27.20-13-59.mp4
MacOS: Chrome / Safari
2026-07-27.19-59-25.mp4