Render agent questions as markdown
A question's text, its description and its options' descriptions now use the transcript's markdown renderer (bold, code, lists, links) in the card's own text styles; tapping an option's formatted description still selects it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -42,13 +42,22 @@ void chatQuestionStream(String sessionId, void Function(JsonMap frame) emit) {
|
||||
'fields': [
|
||||
{
|
||||
'key': 'q0',
|
||||
'title': 'Which database should the release use?',
|
||||
'title': _mode == 'claude'
|
||||
? 'Which **database** should the `release` use?\n\n'
|
||||
'- Postgres keeps the current schema\n'
|
||||
'- SQLite needs a migration'
|
||||
: 'Which database should the release use?',
|
||||
'type': 'string',
|
||||
'required': true,
|
||||
if (_mode == 'claude') 'custom': true,
|
||||
'options': [
|
||||
{'value': 'Postgres', 'label': 'Postgres'},
|
||||
{'value': 'SQLite', 'label': 'SQLite'},
|
||||
{
|
||||
'value': 'SQLite',
|
||||
'label': 'SQLite',
|
||||
if (_mode == 'claude')
|
||||
'description': 'Smaller, but **no** concurrent writers',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user