PostHog / posthog

đŸĻ” PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
22.05k stars 1.33k forks source link

feat(max): Replace reasoning points with generation progress #26346

Open Twixes opened 18 hours ago

Twixes commented 18 hours ago

Problem

There was no feedback about the AI assistant's progress.

Changes

We now send a reasoning type message every time a preparation node starts running.

I spent quite a bit of time thinking how to make the assistant experience feel assistant-like while showing its thinking. We really were missing personality in it – it felt like some unknown entity thinking, not Max the Hedgehog thinking.

So this also features a slight redesign of the thread UI. Human questions now show ares shown as chat messages, there are avatars for both the user and Max, and message boxes are generously rounded for a friendlier feel:

https://github.com/user-attachments/assets/2e5ef7fc-23a9-4dee-a9c1-45de9ddca8c2

The only problem is that the steps take quite a long time, planning in particular – but that's a matter for a separate PR.

github-actions[bot] commented 18 hours ago

Size Change: +1 B (0%)

Total Size: 1.16 MB

ℹī¸ View Unchanged | Filename | Size | Change | | :--- | :---: | :---: | | `frontend/dist/toolbar.js` | 1.16 MB | +1 B (0%) |

compressed-size-action

posthog-bot commented 18 hours ago

📸 UI snapshots have been updated

10 snapshot changes in total. 0 added, 10 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot commented 9 hours ago

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

posthog-bot commented 8 hours ago

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.