initial agent implement#2205
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9e472e848a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| onAskAiClick = { initialMessage -> | ||
| navigate(Route.AgentChat(initialMessage = initialMessage)) |
There was a problem hiding this comment.
Generate a fresh chat id for Ask AI
On Android, the Discover Ask AI entry point navigates with only initialMessage, so Route.AgentChat falls back to the constant "generic-chat" conversation id. This means every ad-hoc Ask AI from Discover (and the same pattern in Search) appends to and restores the same conversation instead of starting a new one; the settings history path and the desktop/iOS Ask AI paths generate generic-chat:<timestamp> ids, so Android should do the same here.
Useful? React with 👍 / 👎.
No description provided.