Skip to content

feat(android): render formatted responses and support interactive con… - #2752

Open
jebrans wants to merge 1 commit into
microsoft:mainfrom
jebrans:dev/jebransyed/android-chat-1
Open

feat(android): render formatted responses and support interactive con…#2752
jebrans wants to merge 1 commit into
microsoft:mainfrom
jebrans:dev/jebransyed/android-chat-1

Conversation

@jebrans

@jebrans jebrans commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Add markdown rendering for assistant responses so formatted content (headings, lists, tables, code, links) displays correctly instead of raw markdown syntax. Add generic handling of requestChoice/requestInteraction RPC calls, so confirmation prompts (yes/no, multi-choice, pick-remember) are driven entirely by payload metadata rather than matching specific command text. Add Yes/No buttons in the chat input for boolean confirmations

Includes unit tests for the confirmation parser, display content parser, and markdown renderer.

…firmations

Add markdown rendering for assistant responses so formatted content (headings,
lists, tables, code, links) displays correctly instead of raw markdown syntax.

Replace hardcoded @session clear string matching with generic handling of
requestChoice/requestInteraction RPC calls, so confirmation prompts (yes/no,
multi-choice, pick-remember) are driven entirely by payload metadata rather
than matching specific command text. Add Yes/No buttons in the chat input for
boolean confirmations, alongside the existing Y/N text fallback.

Also:
- Reduce RPC log verbosity (drop full message payloads from logs)
- Log JSON parse failures as errors with exception details
- Fix network security config lint by adding includeSubdomains attributes
- Remove the unreachable raw "question" RPC invoke handler; agentServer's
  sharedDispatcher always converts ClientIO.question() into a
  requestInteraction broadcast instead, so this path was dead code

Includes unit tests for the confirmation parser, display content parser, and
markdown renderer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants