chore: update ui/agents.md (#2122)

Carlos Alexandro Becker created

* chore: update ui/agents.md

it should always do io inside a tea.cmd

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Apply suggestion from @caarlos0

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Change summary

internal/ui/AGENTS.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

internal/ui/AGENTS.md 🔗

@@ -4,7 +4,7 @@
 - Never use commands to send messages when you can directly mutate children or state.
 - Keep things simple; do not overcomplicate.
 - Create files if needed to separate logic; do not nest models.
-- Always do IO in commands
+- Never do IO or expensive work in `Update`; always use a `tea.Cmd`.
 - Never change the model state inside of a command use messages and than update the state in the main loop
 
 ## Architecture