Commit f95bbe6
rust: Add display_prompt to MessageOptions for session.send
Add a display_prompt field to MessageOptions that, when set, is serialized
as displayPrompt in the session.send JSON-RPC params. This allows consumers
to specify a user-facing label for the timeline that differs from the actual
prompt sent to the agent.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 102cd3e commit f95bbe6
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
374 | 377 | | |
375 | 378 | | |
376 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3107 | 3107 | | |
3108 | 3108 | | |
3109 | 3109 | | |
| 3110 | + | |
| 3111 | + | |
3110 | 3112 | | |
3111 | 3113 | | |
3112 | 3114 | | |
| |||
3121 | 3123 | | |
3122 | 3124 | | |
3123 | 3125 | | |
| 3126 | + | |
3124 | 3127 | | |
3125 | 3128 | | |
3126 | 3129 | | |
| |||
3181 | 3184 | | |
3182 | 3185 | | |
3183 | 3186 | | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
3184 | 3193 | | |
3185 | 3194 | | |
3186 | 3195 | | |
| |||
0 commit comments